Valid types of markupdecl.
<!DOCTYPE doc [ <?Pi?><!--comment--> <!ELEMENT doc EMPTY> <?Pi?><!--comment--> <!ATTLIST doc att CDATA #IMPLIED> <?Pi?><!--comment--> <!ENTITY % ent ""> <?Pi?><!--comment--> <!NOTATION not PUBLIC "some notation"> <?Pi?><!--comment--> ]> <doc/>
Expected result | Actual result for org.dom4j.io.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <notation> <name>not</name> <publicID>some notation</publicID> </notation> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/oasis/p29pass1.xml</systemID> </resolveEntity> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <processingInstruction> <target>Pi</target> <data/> </processingInstruction> <notation> <name>not</name> <publicID>some\snotation</publicID> </notation> <startElement> <namespaceURI/> <localName>doc</localName> <qualifiedName>doc</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName/> <qualifiedName>doc</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |