External entities may not have standalone decls.
<!DOCTYPE root [ <!ELEMENT root EMPTY> <!ENTITY % ent01 SYSTEM "decl01.ent"> <!-- the entity is an illegal PE --> %ent01; ]> <root/>
Expected result | Actual result for gnu.xml.aelfred2.XmlReader |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/decl01.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/decl01.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |