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 com.bluecast.xml.Piccolo |
|---|---|
<?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<fatalError/>
<endDocument/>
</ConformanceResults>
| <?xml version="1.0" encoding="UTF-8"?>
<ConformanceResults>
<startDocument/>
<fatalError/>
<endDocument/>
<bug reason="Parser should only throw SAXExceptions" type="java.lang.ArrayIndexOutOfBoundsException">-1</bug>
</ConformanceResults>
|