Tests EntityRef which is against P68 WFC: Entity Declared. The entity with the name "aaa" in the EntityRef in the AttValue in the STag of the element "root" is not declared.
<!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ATTLIST root att CDATA #IMPLIED> ]> <root>undefined entitiy &aaa; </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> <char>u</char> <char>n</char> <char>d</char> <char>e</char> <char>f</char> <char>i</char> <char>n</char> <char>e</char> <char>d</char> <char>\s</char> <char>e</char> <char>n</char> <char>t</char> <char>i</char> <char>t</char> <char>i</char> <char>y</char> <char>\s</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes/> </startElement> <char>u</char> <char>n</char> <char>d</char> <char>e</char> <char>f</char> <char>i</char> <char>n</char> <char>e</char> <char>d</char> <char>\s</char> <char>e</char> <char>n</char> <char>t</char> <char>i</char> <char>t</char> <char>i</char> <char>y</char> <char>\s</char> <fatalError/> </ConformanceResults> |