The VersionNum of the document and external entity is 1.1 and both contain the valid XML1.1 but invalid XML1.0 character #xF6.
<?xml version='1.1'?> <!DOCTYPE doc [ <!ELEMENT doc (öroot*)> <!ELEMENT öroot EMPTY> <!ENTITY e SYSTEM "ibm77v10.ent"> ]> <doc>&e;</doc>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P77/ibm77v10.ent</systemID> </resolveEntity> <ignorable>\n</ignorable> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <ignorable>\n</ignorable> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/valid/P77/ibm77v10.ent</systemID> </resolveEntity> <char>\n</char> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <startElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>öroot</localName> <qualifiedName>öroot</qualifiedName> </endElement> <char>\n</char> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |