The VersionNum of the document entity is 1.1 but the external entity does not contain a textDecl and both contain the valid XML1.1 but invalid XML1.0 character #x2FF.
<?xml version='1.1'?> <!DOCTYPE doc [ <!ELEMENT doc (˿root*)> <!ELEMENT ˿root EMPTY> <!ENTITY e SYSTEM "ibm77v16.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/ibm77v16.ent</systemID> </resolveEntity> <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/> <fatalError/> <endDocument/> </ConformanceResults> |