Tests Attribute against WFC "no external entity references". A direct references to the external entity "aExternal" is contained in the value of the attribute "attr1".
<?xml version="1.0"?> <!DOCTYPE root [ <!ELEMENT root ANY> <!ATTLIST root attr1 CDATA #IMPLIED> <!ATTLIST root attr2 CDATA #IMPLIED> <!ENTITY aExternal SYSTEM "ibm41n10.ent"> ]> <root attr1="&aExternal;">direct reference to external entinity in Attribute</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>attr1</localName> <qualifiedName>attr1</qualifiedName> <value/> <type>CDATA</type> </attribute> </attributes> </startElement> <char>d</char> <char>i</char> <char>r</char> <char>e</char> <char>c</char> <char>t</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>t</char> <char>o</char> <char>\s</char> <char>e</char> <char>x</char> <char>t</char> <char>e</char> <char>r</char> <char>n</char> <char>a</char> <char>l</char> <char>\s</char> <char>e</char> <char>n</char> <char>t</char> <char>i</char> <char>n</char> <char>i</char> <char>t</char> <char>y</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>A</char> <char>t</char> <char>t</char> <char>r</char> <char>i</char> <char>b</char> <char>u</char> <char>t</char> <char>e</char> <endElement> <namespaceURI/> <localName>root</localName> <qualifiedName>root</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |