Tests NotationType with a required field missing. The Name is missing in the "()" 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> <!NOTATION this SYSTEM "alpha"> <!ATTLIST one attr NOTATION () #IMPLIED> ]> <test> This is a Negative test with NOTATION () Missing the required field </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>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>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>\s</char> <char>w</char> <char>i</char> <char>t</char> <char>h</char> <char>\s</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>\s</char> <char>(</char> <char>)</char> <char>\s</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>t</char> <char>h</char> <char>e</char> <char>\s</char> <char>r</char> <char>e</char> <char>q</char> <char>u</char> <char>i</char> <char>r</char> <char>e</char> <char>d</char> <char>\s</char> <char>f</char> <char>i</char> <char>e</char> <char>l</char> <char>d</char> <char>\n</char> <endElement> <namespaceURI/> <localName>test</localName> <qualifiedName>test</qualifiedName> </endElement> <fatalError/> </ConformanceResults> |