Tests ETag with a wrong structure. An white space occurs between The beginning sequence and the Name of the ETag of the element "root".
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root attr1 CDATA #IMPLIED> ]> <root attr1="any">Extra white space before Name in ETag </ root>
Expected result | Actual result for net.sf.saxon.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>E</char> <char>x</char> <char>t</char> <char>r</char> <char>a</char> <char>\s</char> <char>w</char> <char>h</char> <char>i</char> <char>t</char> <char>e</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>b</char> <char>e</char> <char>f</char> <char>o</char> <char>r</char> <char>e</char> <char>\s</char> <char>N</char> <char>a</char> <char>m</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> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P42/ibm42n04.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>E</char> <char>x</char> <char>t</char> <char>r</char> <char>a</char> <char>\s</char> <char>w</char> <char>h</char> <char>i</char> <char>t</char> <char>e</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>b</char> <char>e</char> <char>f</char> <char>o</char> <char>r</char> <char>e</char> <char>\s</char> <char>N</char> <char>a</char> <char>m</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> <fatalError/> <endDocument/> </ConformanceResults> |