Tests an end tag which contains an illegal space character #x3000 which follows the element name "book".
<!DOCTYPE book [ <!ELEMENT book ANY> ]> <!-- IllegalChar #x3000 in p03: --> <book>Illegal space 3000 in the end tag</book >
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <char>I</char> <char>l</char> <char>l</char> <char>e</char> <char>g</char> <char>a</char> <char>l</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>3</char> <char>0</char> <char>0</char> <char>0</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>e</char> <char>n</char> <char>d</char> <char>\s</char> <char>t</char> <char>a</char> <char>g</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <char>I</char> <char>l</char> <char>l</char> <char>e</char> <char>g</char> <char>a</char> <char>l</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>3</char> <char>0</char> <char>0</char> <char>0</char> <char>\s</char> <char>i</char> <char>n</char> <char>\s</char> <char>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>e</char> <char>n</char> <char>d</char> <char>\s</char> <char>t</char> <char>a</char> <char>g</char> <fatalError/> </ConformanceResults> |