This test case covers control characters x1 to x1F and x7F to x9F which appear as character references as an entity's replacement text.
<?xml version="1.1" encoding="UTF-8" ?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ENTITY data "range1 : 	

  range2 : €‚ƒ„…†‡ˆ‰ ‘’“”•–—˜™š›œžŸ"> <!-- This test case covers control characters x1 to x1F and x7F to x9F which appear as character references as an entity's replacement text. --> ]> <root/>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |