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 org.dom4j.io.aelfred.SAXDriver |
---|---|
<?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/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/p56pass1.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |