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 com.jclark.xml.sax.SAX2Driver |
---|---|
<?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/> <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> |