Tests the Entity Declared WFC, ensuring that a reference to externally defined entity causes a well-formedness error.
<?xml version='1.0' standalone='yes'?> <!DOCTYPE attributes SYSTEM "../valid/sa.dtd" [ <!-- External entity ref --> ]> <attributes token = "b" id = "external-&number;" />
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/valid/sa.dtd</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |