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 org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <fatalError/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |