Tests PubidChar. The pubidChar of the PubidLiteral for the entity "info" contains the character double quote in the middle.
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE student [ <!ENTITY info PUBLIC "This is a test á " "student.dtd"> ]> <!-- testing invalid pubid char with á --> <student>My Name is &info;. </student>
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/> <fatalError/> </ConformanceResults> |