Tests NotationType with a required field missing. The white space is missing between "NOTATION" and "(this)" in the NotationType in the AttDef in the AttlistDecl in the DTD.
<?xml version="1.0"?> <!-- Syntax test for Production 58--> <!DOCTYPE test [ <!ELEMENT test ANY> <!ELEMENT one EMPTY> <!ELEMENT two EMPTY> <!NOTATION this SYSTEM "alpha"> <!ATTLIST three attr NOTATION(this) #IMPLIED> ]> <test> Negative Test. Missing space after NOTATION </test>
Expected result | Actual result for oracle.xml.parser.v2.SAXParser |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <startElement> <namespaceURI/> <localName>test</localName> <qualifiedName>test</qualifiedName> <attributes/> </startElement> <char>\n</char> <char>N</char> <char>e</char> <char>g</char> <char>a</char> <char>t</char> <char>i</char> <char>v</char> <char>e</char> <char>\s</char> <char>T</char> <char>e</char> <char>s</char> <char>t</char> <char>.</char> <char>\n</char> <char>M</char> <char>i</char> <char>s</char> <char>s</char> <char>i</char> <char>n</char> <char>g</char> <char>\s</char> <char>s</char> <char>p</char> <char>a</char> <char>c</char> <char>e</char> <char>\s</char> <char>a</char> <char>f</char> <char>t</char> <char>e</char> <char>r</char> <char>\s</char> <char>N</char> <char>O</char> <char>T</char> <char>A</char> <char>T</char> <char>I</char> <char>O</char> <char>N</char> <char>\n</char> <endElement> <namespaceURI/> <localName>test</localName> <qualifiedName>test</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |