Tests TokenizedType for P56. The "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", and "NMTOKENS" occur in the TokenizedType for the attribute "attr".
<?xml version="1.0"?> <!-- valid test for Production 56--> <!DOCTYPE root [ <!ELEMENT root (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 attr ID #IMPLIED> <!ATTLIST b attr IDREF #IMPLIED> <!ATTLIST c attr IDREFS #IMPLIED> <!ATTLIST d attr ENTITY #IMPLIED> <!ATTLIST e attr ENTITIES #IMPLIED> <!ATTLIST f attr NMTOKEN #IMPLIED> <!ATTLIST g attr NMTOKENS #IMPLIED> ]> <root/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P56/ibm56v01.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |