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 com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <fatalError/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |