In DTDs, the '%' character must be part of a parameter entity reference.
<!DOCTYPE doc SYSTEM "008.ent"> <doc></doc>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/008.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/008.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/xmltest/not-wf/not-sa/008.ent</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |