Tests Extender with an illegal character. The character #x3036 occurs as the second character in the PITarget in the PI in the DTD.
<!DOCTYPE animal [ <!ELEMENT animal ANY> <?_〶 an illegal extender #x3036 in PITarget ?> ]> <animal/> <IllegalExtender〶/>
Expected result | Actual result for com.jclark.xml.sax.SAX2Driver |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |