The replacement text of this entity is an illegal character reference, which must be rejected when it is parsed in the context of an attribute value.
<!DOCTYPE doc [ <!ENTITY e "&"> ]> <doc a="&e;"></doc>
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> |