Tests all legal CharRef's.
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root (#PCDATA)> ]> <root> Test all valid Charater references for P66: 			 



 
 « « Í Í ï ï C C _   힣 가 豈 � 𐀀  </root> <!--* a valid test for P66 *-->
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>T</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>a</char> <char>l</char> <char>l</char> <char>\s</char> <char>v</char> <char>a</char> <char>l</char> <char>i</char> <char>d</char> <char>\s</char> <char>C</char> <char>h</char> <char>a</char> <char>r</char> <char>a</char> <char>t</char> <char>e</char> <char>r</char> <char>\s</char> <char>r</char> <char>e</char> <char>f</char> <char>e</char> <char>r</char> <char>e</char> <char>n</char> <char>c</char> <char>e</char> <char>s</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>P</char> <char>6</char> <char>6</char> <char>:</char> <char>\n</char> <char>\t</char> <char>\t</char> <char>\t</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\r</char> <char>\n</char> <char>«</char> <char>\s</char> <char>«</char> <char>\s</char> <char>Í</char> <char>\s</char> <char>Í</char> <char>\s</char> <char>ï</char> <char>\s</char> <char>ï</char> <char>\n</char> <char>C</char> <char>\s</char> <char>C</char> <char>\s</char> <char>_</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>힣</char> <char>\s</char> <char>가</char> <char>\n</char> <char>豈</char> <char>\s</char> <char>�</char> <char>\n</char> <char>\uD800</char> <char>\uDC00</char> <char>\s</char> <char>\uDBFF</char> <char>\uDFFF</char> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P66/ibm66v01.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>T</char> <char>e</char> <char>s</char> <char>t</char> <char>\s</char> <char>a</char> <char>l</char> <char>l</char> <char>\s</char> <char>v</char> <char>a</char> <char>l</char> <char>i</char> <char>d</char> <char>\s</char> <char>C</char> <char>h</char> <char>a</char> <char>r</char> <char>a</char> <char>t</char> <char>e</char> <char>r</char> <char>\s</char> <char>r</char> <char>e</char> <char>f</char> <char>e</char> <char>r</char> <char>e</char> <char>n</char> <char>c</char> <char>e</char> <char>s</char> <char>\s</char> <char>f</char> <char>o</char> <char>r</char> <char>\s</char> <char>P</char> <char>6</char> <char>6</char> <char>:</char> <char>\n</char> <char>\t</char> <char>\t</char> <char>\t</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\n</char> <char>\r</char> <char>\n</char> <char>«</char> <char>\s</char> <char>«</char> <char>\s</char> <char>Í</char> <char>\s</char> <char>Í</char> <char>\s</char> <char>ï</char> <char>\s</char> <char>ï</char> <char>\n</char> <char>C</char> <char>\s</char> <char>C</char> <char>\s</char> <char>_</char> <char>\n</char> <char>\s</char> <char>\s</char> <char>힣</char> <char>\s</char> <char>가</char> <char>\n</char> <char>豈</char> <char>\s</char> <char>�</char> <char>\n</char> <char>\uD800</char> <char>\uDC00</char> <char>\s</char> <char>\uDBFF</char> <char>\uDFFF</char> <char>\n</char> <endElement> <namespaceURI/> <localName/> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |