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 gnu.xml.aelfred2.XmlReader |
---|---|
<?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/> <endDocument/> <bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">1 >= 1</bug> </ConformanceResults> |