Editing xml from RNG schema with fixed attrib of type QName
Posted: Fri Apr 18, 2008 12:27 pm
I have following example schema
Starting a fresh document leads to following instance:
Is there something wrong with the schema or ?
Paul
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<grammar
xmlns="http://relaxng.org/ns/structure/1.0"
xmlns:a="http://relaxng.org/ns/compatibility/annotations/1.0"
xmlns:overheid="test"
datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
<start>
<element name="test" >
<attribute name="scheme">
<value type="QName">overheid:Gemeente</value>
</attribute>
</element>
</start>
</grammar>
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<?oxygen RNGSchema="file:/Users/Paul/Desktop/test.rng" type="xml"?>
<test scheme="com.thaiopensource.datatype.xsd.QNameDatatype$QName@6e31ac62"
</test>
Paul