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 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>-A_name_starts_With-</localName> <qualifiedName>-A_name_starts_With-</qualifiedName> <attributes/> </startElement> <endElement> <namespaceURI/> <localName>-A_name_starts_With-</localName> <qualifiedName>-A_name_starts_With-</qualifiedName> </endElement> <fatalError/> <fatalError/> <fatalError/> </ConformanceResults> |