Appendix A.2 Differences in Behaviors Between DOM Parser Versions

The following table lists and describes the differences in behaviors between DOM parser versions.

Table A-2 Differences in behaviors between DOM parser versions

No.ConditionCosminexus XML Processor operations
In version 06-00In version 07-00 and later versions
1If a NOTATION declaration with the same name exists and the validation is enabledThe duplicate NOTATION declaration is discarded.The duplicate NOTATION declaration is discarded and an error occurs.
2If you execute the appendChild or insertBefore method specifying the node or its ancestor node for the newChild argument for a nodeThe DOMException exception code is WRONG_DOCUMENT_ERR.The DOMException exception code is HIERARCHY_REQUEST_ERR.
3If you specify null for the qualifiedName argument of the createElementNS(String namespaceURI, String qualifiedName) method for the Document interfaceThe DOMException exception code is INVALID_CHARACTER_ERR.The DOMException exception code is NAMESPACE_ERR.
4If the http://java.sun.com/xml/jaxp/properties/schemaSource property is specified in the setAttribute() method of the DocumentBuilderFactory class rather than the http://java.sun.com/xml/jaxp/properties/schemaLanguage propertyThe KECX01603-E error is reported.The KECX01338-E error is reported.