Tests a document with no element. A well-formed document should have at lease one elements.
<?xml version="1.0"?> <!DOCTYPE book [ <!ELEMENT book ANY> ]> <!-- element is missing -->
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <fatalError/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/not-wf/P01/ibm01n01.xml</systemID> </resolveEntity> <fatalError/> <endDocument/> </ConformanceResults> |