This test contains embeded control characters present in an external entity.
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ENTITY e SYSTEM "ibm02n65.ent"> ]> <root>&e;</root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P02/ibm02n65.ent</systemID> </resolveEntity> <char>\n</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/xml-1.1/not-wf/P02/ibm02n65.ent</systemID> </resolveEntity> <ignorable>\n</ignorable> <processingInstruction> <target>BADPI</target> <data>0x0x1:\s\u1,\s\s0x2:\s\u2,\s\s0x3:\s\u3,\s\s0x4:\s\u4,\s\s0x5:\s\u5,\s\s0x6:\s\u6,\s\s0x7:\s\u7,\s\s0x8:\s\u8,\s\s0x9:\s\t,\s\s0xa:\s\n,\s\s0xb:\s\uB,\s\s0xc:\s\uC,\s\s0xd:\s\n,\s\s0xe:\s\uE,\s\s0xf:\s\uF,\s\s0x10:\s\u10,\s\s0x11:\s\u11,\s\s0x12:\s\u12,\s\s0x13:\s\u13,\s\s0x14:\s\u14,\s\s0x15:\s\u15,\s\s0x16:\s\u16,\s\s0x17:\s\u17,\s\s0x18:\s\u18,\s\s0x19:\s\u19,\s\s0x1a:\s\u1A,\s\s0x1b:\s\u1B,\s\s0x1c:\s\u1C,\s\s0x1d:\s\u1D,\s\s0x1e:\s\u1E,\s\s0x1f:\s\u1F,\s\s0x7f:\s\u7F,\s\s0x80:\s\u80,\s\s0x81:\s\u81,\s\s0x82:\s\u82,\s\s0x83:\s\u83,\s\s0x84:\s\u84,\s\s0x85:\s\u85,\s\s0x86:\s\u86,\s\s0x87:\s\u87,\s\s0x88:\s\u88,\s\s0x89:\s\u89,\s\s0x8a:\s\u8A,\s\s0x8b:\s\u8B,\s\s0x8c:\s\u8C,\s\s0x8d:\s\u8D,\s\s0x8e:\s\u8E,\s\s0x8f:\s\u8F,\s\s0x90:\s\u90,\s\s0x91:\s\u91,\s\s0x92:\s\u92,\s\s0x93:\s\u93,\s\s0x94:\s\u94,\s\s0x95:\s\u95,\s\s0x96:\s\u96,\s\s0x97:\s\u97,\s\s0x98:\s\u98,\s\s0x0:\s\s,\s\s0x9a:\s\u9A,\s\s0x9b:\s\u9B,\s\s0x9c:\s\u9C,\s\s0x9d:\s\u9D,\s\s0x9e:\s\u9E,\s\s0x9f:\s\u9F,\s\s\s</data> </processingInstruction> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |