Tests EnitityValue referencing a Parameter Entity
<?xml version="1.0"?> <!DOCTYPE student SYSTEM "ibm09v03.dtd"> <student>I am a new student with &Name;</student>
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/P09/ibm09v03.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>student</localName> <qualifiedName>student</qualifiedName> <attributes/> </startElement> <char>I</char> <char>\s</char> <char>a</char> <char>m</char> <char>\s</char> <char>a</char> <char>\s</char> <char>n</char> <char>e</char> <char>w</char> <char>\s</char> <char>s</char> <char>t</char> <char>u</char> <char>d</char> <char>e</char> <char>n</char> <char>t</char> <char>\s</char> <char>w</char> <char>i</char> <char>t</char> <char>h</char> <char>\s</char> <char>f</char> <char>i</char> <char>r</char> <char>s</char> <char>t</char> <char>\s</char> <char>,</char> <char>\s</char> <char>l</char> <char>a</char> <char>s</char> <char>t</char> <endElement> <namespaceURI/> <localName>student</localName> <qualifiedName>student</qualifiedName> </endElement> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P09/ibm09v03.xml</systemID> </resolveEntity> <resolveEntity> <systemID>file:/home/elharo/SAXTest/xmlconf/ibm/valid/P09/ibm09v03.dtd</systemID> </resolveEntity> <startElement> <namespaceURI/> <localName>student</localName> <qualifiedName>student</qualifiedName> <attributes/> </startElement> <char>I</char> <char>\s</char> <char>a</char> <char>m</char> <char>\s</char> <char>a</char> <char>\s</char> <char>n</char> <char>e</char> <char>w</char> <char>\s</char> <char>s</char> <char>t</char> <char>u</char> <char>d</char> <char>e</char> <char>n</char> <char>t</char> <char>\s</char> <char>w</char> <char>i</char> <char>t</char> <char>h</char> <char>\s</char> <char>f</char> <char>i</char> <char>r</char> <char>s</char> <char>t</char> <char>\s</char> <char>,</char> <char>\s</char> <char>l</char> <char>a</char> <char>s</char> <char>t</char> <endElement> <namespaceURI/> <localName>student</localName> <qualifiedName>student</qualifiedName> </endElement> <endDocument/> </ConformanceResults> |