The VersionNum of the document and external entity is 1.1 and both contain the valid XML1.1 but invalid XML1.0 character #xF901.
<?xml version='1.1'?> <!DOCTYPE doc [ <!ELEMENT doc (更root*)> <!ELEMENT 更root EMPTY> <!ENTITY e SYSTEM "ibm77v12.ent"> ]> <doc>&e;</doc>
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?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/ibm77v12.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> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> |