Tests an element name which has an illegal first character. An illegal first character "5" is followed by "A_name-starts_with_digit".
<!DOCTYPE 5A_name_starts_with_digit [ <!ELEMENT 5A_name_starts_with_digit EMPTY> ]> <5A_name_starts_with_digit/>
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>5A_name_starts_with_digit</localName> <qualifiedName>5A_name_starts_with_digit</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>5A_name_starts_with_digit</localName> <qualifiedName>5A_name_starts_with_digit</qualifiedName> </endElement> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |