Test case not-wf-sa-084: oracle.xml.parser.v2.SAXParser Passed

Test case not-wf-sa-084: oracle.xml.parser.v2.SAXParser Passed

Tests the Parsed Entity WFC by referring to an unparsed entity. (This precedes the error of not declaring that entity's notation, which may be detected any time before the DTD parsing is completed.)

<!DOCTYPE doc [
<!ENTITY e SYSTEM "nul" NDATA n>
<!ELEMENT doc (#PCDATA)>
<!ATTLIST doc a CDATA "&e;">
]>
<doc></doc>
Expected resultActual 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/>
    <unparsedEntity>
        <name>e</name>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/sa/nul</systemID>
        <notation>n</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value/>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <fatalError/>
</ConformanceResults>