valid public IDs.
<!--Inability to resolve a notation should not be reported as an error--> <!DOCTYPE doc [ <!ELEMENT doc EMPTY> <!NOTATION not1 PUBLIC "a b cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"> <!NOTATION not2 PUBLIC '0123456789-()+,./:=?;!*#@$_%'> <!NOTATION not3 PUBLIC "0123456789-()+,.'/:=?;!*#@$_%"> ]> <doc/>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>not1</name> <publicID>a b cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</publicID> </notation> <notation> <name>not2</name> <publicID>0123456789-()+,./:=?;!*#@$_%</publicID> </notation> <notation> <name>not3</name> <publicID>0123456789-()+,.'/:=?;!*#@$_%</publicID> </notation> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <notation> <name>not1</name> <publicID>a b cdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ</publicID> </notation> <notation> <name>not2</name> <publicID>0123456789-()+,./:=?;!*#@$_%</publicID> </notation> <notation> <name>not3</name> <publicID>0123456789-()+,.'/:=?;!*#@$_%</publicID> </notation> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |