Tests Reference could be EntityRef or CharRef.
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ATTLIST root attr CDATA #REQUIRED> <!ENTITY ge1 "xyz"> ]> <root attr="&ge1;A"> &ge1; B </root> <!--* a valid test for P67 *-->
Expected result | Actual result for com.bluecast.xml.Piccolo |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>attr</localName> <qualifiedName>attr</qualifiedName> <value>xyzA</value> <type>CDATA</type> </attribute> </attributes> </startElement> <char>\n</char> <char>x</char> <char>y</char> <char>z</char> <char>\s</char> <char>B</char> <char>\n</char> <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> <attribute> <namespaceURI/> <localName>attr</localName> <qualifiedName>attr</qualifiedName> <value>xyzA</value> <type>CDATA</type> </attribute> </attributes> </startElement> <char>\n</char> <char>x</char> <char>y</char> <char>z</char> <char>\s</char> <char>B</char> <char>\n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |