the 7 tokenized attribute types
<!DOCTYPE doc [ <!ELEMENT doc (a|b|c|d|e|f|g)*> <!ELEMENT a EMPTY> <!ELEMENT b EMPTY> <!ELEMENT c EMPTY> <!ELEMENT d EMPTY> <!ELEMENT e EMPTY> <!ELEMENT f EMPTY> <!ELEMENT g EMPTY> <!ATTLIST a att ID #IMPLIED> <!ATTLIST b att IDREF #IMPLIED> <!ATTLIST c att IDREFS #IMPLIED> <!ATTLIST d att ENTITY #IMPLIED> <!ATTLIST e att ENTITIES #IMPLIED> <!ATTLIST f att NMTOKEN #IMPLIED> <!ATTLIST g att NMTOKENS #IMPLIED> ]> <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> <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> |