Tests extPE
<?xml version="1.0"?> <!DOCTYPE book [ <!ELEMENT book ANY> <!ATTLIST notebook att CDATA #IMPLIED> <!ENTITY % epe SYSTEM "ibm79v01.ent" > %epe; ]> <book><name>XML Handbook</name> This is a book</book> <!-- a valid test case: test P79 -->
Expected result | Actual result for net.sf.saxon.aelfred.SAXDriver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P79/ibm79v01.ent</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <startElement> <namespaceURI/> <localName>name</localName> <qualifiedName>name</qualifiedName> <attributes/> </startElement> <char>X</char> <char>M</char> <char>L</char> <char>\s</char> <char>H</char> <char>a</char> <char>n</char> <char>d</char> <char>b</char> <char>o</char> <char>o</char> <char>k</char> <endElement> <namespaceURI/> <localName>name</localName> <qualifiedName>name</qualifiedName> </endElement> <char>\s</char> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>b</char> <char>o</char> <char>o</char> <char>k</char> <endElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P79/ibm79v01.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P79/ibm79v01.ent</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> <attributes/> </startElement> <startElement> <namespaceURI/> <localName>name</localName> <qualifiedName>name</qualifiedName> <attributes/> </startElement> <char>X</char> <char>M</char> <char>L</char> <char>\s</char> <char>H</char> <char>a</char> <char>n</char> <char>d</char> <char>b</char> <char>o</char> <char>o</char> <char>k</char> <endElement> <namespaceURI/> <localName>name</localName> <qualifiedName>name</qualifiedName> </endElement> <char>\s</char> <char>T</char> <char>h</char> <char>i</char> <char>s</char> <char>\s</char> <char>i</char> <char>s</char> <char>\s</char> <char>a</char> <char>\s</char> <char>b</char> <char>o</char> <char>o</char> <char>k</char> <endElement> <namespaceURI/> <localName>book</localName> <qualifiedName>book</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |