Validity Constraint: No duplicate tokens
<!DOCTYPE el [ <!ELEMENT el EMPTY> <!ATTLIST el at (one|two|two) #IMPLIED> ]> <e1 at="two"/>
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>e1</localName> <qualifiedName>e1</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>at</localName> <qualifiedName>at</qualifiedName> <value>two</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>e1</localName> <qualifiedName>e1</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/e2.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>e1</localName> <qualifiedName>e1</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>at</localName> <qualifiedName>at</qualifiedName> <value>two</value> <type>CDATA</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>e1</localName> <qualifiedName>e1</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |