Illegal markup (<% ... %>)
<!DOCTYPE html [ <!ELEMENT html ANY> ]> <html> <% document.println ("hello, world"); %> </html>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>html</localName> <qualifiedName>html</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/sun/not-wf/element03.xml</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>html</localName> <qualifiedName>html</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>\s</char> <char>\s</char> <char>\s</char> <char>\s</char> <fatalError/> <endDocument/> </ConformanceResults> |