Test case o-p10pass1: org.apache.crimson.parser.XMLReaderImpl Passed

Test case o-p10pass1: org.apache.crimson.parser.XMLReaderImpl Passed

valid attribute values

<doc>
<A a="asdf>'&#34;>
asdf
	?>%"/>
<A a='"">&#39;&#34;'/>
</doc>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>asdf&gt;'"&gt;\sasdf\s\s?&gt;%</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
    </endElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>""&gt;'"</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
        <attributes/>
    </startElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>asdf&gt;'"&gt;\sasdf\s\s?&gt;%</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
    </endElement>
    <char>\n</char>
    <startElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI/>
                <localName>a</localName>
                <qualifiedName>a</qualifiedName>
                <value>""&gt;'"</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>A</localName>
        <qualifiedName>A</qualifiedName>
    </endElement>
    <char>\n</char>
    <endElement>
        <namespaceURI/>
        <localName>doc</localName>
        <qualifiedName>doc</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>