Test case valid-sa-091: net.sf.saxon.aelfred.SAXDriver Failed

Test case valid-sa-091: net.sf.saxon.aelfred.SAXDriver Failed

Verifies that an XML parser will parse an ENTITY attribute; the output phase of this test ensures that the notation is reported to the application, and for validating parsers it further tests that the entity is so reported.

<!DOCTYPE doc [
<!NOTATION n SYSTEM "http://www.w3.org/">
<!ENTITY e SYSTEM "http://www.w3.org/" NDATA n>
<!ELEMENT doc (#PCDATA)>
<!ATTLIST doc a ENTITY "e">
]>
<doc></doc>
Expected resultActual result for net.sf.saxon.aelfred.SAXDriver
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <notation>
        <name>n</name>
        <systemID>http://www.w3.org/</systemID>
    </notation>
    <unparsedEntity>
        <name>e</name>
        <systemID>http://www.w3.org/</systemID>
        <notation>n</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>e</value>
                <type>ENTITY</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <resolveEntity>
        <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/valid/sa/091.xml</systemID>
    </resolveEntity>
    <notation>
        <name>n</name>
        <systemID>http://www.w3.org/</systemID>
    </notation>
    <unparsedEntity>
        <name>e</name>
        <systemID>http://www.w3.org/</systemID>
        <notation>n</notation>
    </unparsedEntity>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>e</value>
                <type>ENTITY</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>