Tests an element name which has an illegal first character. An illegal first character "-" is followed by "A_name-starts_with-".
<!DOCTYPE -A_name_starts_With- [ <!ELEMENT -A_name_starts_With- EMPTY> ]> <-A_name_starts_With-/>
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> |