various satisfaction of an NMTOKENS attribute value.
<!DOCTYPE doc [ <!ELEMENT doc (A*)> <!ELEMENT A EMPTY> <!ATTLIST A att NMTOKENS #IMPLIED> ]> <doc> <A att="abc"/><A att="abc def . :"/><A att=" abc def "/> </doc>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <ignorable>\n</ignorable> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef\s.\s:</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value>abc\sdef</value> <type>NMTOKENS</type> </attribute> </attributes> </startElement> <endElement> <namespaceURI/> <localName>A</localName> <qualifiedName>A</qualifiedName> </endElement> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</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">0 >= 0</bug> </ConformanceResults> |