Tests VC: Standalone Document Declaration with whitespace in mixed content and standalone is no
<?xml version="1.0" standalone="no" ?> <!DOCTYPE animal SYSTEM "ibm32v04.dtd"> <animal>This is a <a/> yellow tiger</animal> <!-- Tests VC: Standalone Document Declaration with whitespace in mixed content -->
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P32/ibm32v04.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI> <localName>space</localName> <qualifiedName>xml:space</qualifiedName> <value>preserve</value> <type>NMTOKEN</type> </attribute> </attributes> </startElement> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> </endElement> <char>\s</char> <char>\s</char> <char>\n</char> <char>\n</char> <char>y</char> <char>e</char> <char>l</char> <char>l</char> <char>o</char> <char>w</char> <char>\s</char> <char>t</char> <char>i</char> <char>g</char> <char>e</char> <char>r</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P32/ibm32v04.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P32/ibm32v04.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> <attributes> <attribute> <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI> <localName>space</localName> <qualifiedName>xml:space</qualifiedName> <value>preserve</value> <type>NMTOKEN</type> </attribute> </attributes> </startElement> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <startElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>a</localName> <qualifiedName>a</qualifiedName> </endElement> <char>\s</char> <char>\s</char> <char>\n</char> <char>\n</char> <char>y</char> <char>e</char> <char>l</char> <char>l</char> <char>o</char> <char>w</char> <char>\s</char> <char>t</char> <char>i</char> <char>g</char> <char>e</char> <char>r</char> <endElement> <namespaceURI/> <localName>animal</localName> <qualifiedName>animal</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |