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 oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <endDocument/> <fatalError/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |