Test case rmt-e2e-57: org.apache.crimson.parser.XMLReaderImpl Passed

Test case rmt-e2e-57: org.apache.crimson.parser.XMLReaderImpl Passed

A value other than preserve or default for xml:space is an error

<foo xml:space="discard-all-but-the-first-three-spaces"/>
Expected resultActual result for org.apache.crimson.parser.XMLReaderImpl
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>space</localName>
                <qualifiedName>xml:space</qualifiedName>
                <value>discard-all-but-the-first-three-spaces</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
    <startDocument/>
    <startElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
        <attributes>
            <attribute>
                <namespaceURI>http://www.w3.org/XML/1998/namespace</namespaceURI>
                <localName>space</localName>
                <qualifiedName>xml:space</qualifiedName>
                <value>discard-all-but-the-first-three-spaces</value>
                <type>CDATA</type>
            </attribute>
        </attributes>
    </startElement>
    <endElement>
        <namespaceURI/>
        <localName>foo</localName>
        <qualifiedName>foo</qualifiedName>
    </endElement>
    <endDocument/>
</ConformanceResults>