Tests an element with an illegal NameStartChar: #0x200B
<?xml version="1.1" encoding="UTF-8"?> <!DOCTYPE ​IllegalNameStartChar [ <!ELEMENT ​IllegalNameStartChar ANY> ]> <!-- IllegalNameStartChar #0x200B --> <​IllegalNameStartChar/>
Expected result | Actual result for org.apache.crimson.parser.XMLReaderImpl |
---|---|
<?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> <endDocument/> </ConformanceResults> | <?xml version="1.0" encoding="UTF-8"?> <ConformanceResults> <startDocument/> <fatalError/> </ConformanceResults> |