Colon in entity name
<?xml version="1.0"?> <!-- Colon in entity name --> <!DOCTYPE foo [ <!ELEMENT foo ANY> <!NOTATION a:b SYSTEM "notation"> ]> <foo/>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>a:b</name> <systemID>file:/home/elharo/SAXTest/xmlconf/eduni/namespaces/1.0/notation</systemID> </notation> <startElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>foo</localName> <qualifiedName>foo</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |