Tests EntityRef which is against P68 WFC: Entity Declared. The name "aAa" in the EntityRef in the AttValue in the STage of the element "root" does not match the Name of any declared entity in the DTD.
<!DOCTYPE root [ <!ELEMENT root (#PCDATA)> <!ATTLIST root att CDATA #IMPLIED> <!ENTITY aaa "aString"> ]> <root att="&aAa;">reference doesn't match delaration</root>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> <attributes> <attribute> <namespaceURI/> <localName>att</localName> <qualifiedName>att</qualifiedName> <value/> <type>CDATA</type> </attribute> </attributes> </startElement> <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>d</char> <char>o</char> <char>e</char> <char>s</char> <char>n</char> <char>'</char> <char>t</char> <char>\s</char> <char>m</char> <char>a</char> <char>t</char> <char>c</char> <char>h</char> <char>\s</char> <char>d</char> <char>e</char> <char>l</char> <char>a</char> <char>r</char> <char>a</char> <char>t</char> <char>i</char> <char>o</char> <char>n</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |