Tests ETag with a wrong beginning sequence. The string "less than" is used as a beginning sequence of the ETag of the element "root".
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root attr1 CDATA #IMPLIED> ]> <root attr1="any">Wrong begining sequence in ETag <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> <attribute> <namespaceURI/> <localName>attr1</localName> <qualifiedName>attr1</qualifiedName> <value>any</value> <type>CDATA</type> </attribute> </attributes> </startElement> <char>W</char> <char>r</char> <char>o</char> <char>n</char> <char>g</char> <char>\s</char> <char>b</char> <char>e</char> <char>g</char> <char>i</char> <char>n</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>s</char> <char>e</char> <char>q</char> <char>u</char> <char>e</char> <char>n</char> <char>c</char> <char>e</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>E</char> <char>T</char> <char>a</char> <char>g</char> <char>\s</char> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P42/ibm42n03.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>attr1</localName> <qualifiedName>attr1</qualifiedName> <value>any</value> <type>CDATA</type> </attribute> </attributes> </startElement> <char>W</char> <char>r</char> <char>o</char> <char>n</char> <char>g</char> <char>\s</char> <char>b</char> <char>e</char> <char>g</char> <char>i</char> <char>n</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>s</char> <char>e</char> <char>q</char> <char>u</char> <char>e</char> <char>n</char> <char>c</char> <char>e</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>E</char> <char>T</char> <char>a</char> <char>g</char> <char>\s</char> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <fatalError/> <endDocument/> </ConformanceResults> |