uCosminexus Application Server, XML Processor User Guide

[Contents][Glossary][Index][Back][Next]

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. Condition Cosminexus XML Processor operations
In version 06-00 In version 07-00 and later versions
1 If a NOTATION declaration with the same name exists and the validation is enabled The duplicate NOTATION declaration is discarded. The duplicate NOTATION declaration is discarded and an error occurs.
2 If you execute the appendChild or insertBefore method specifying the node or its ancestor node for the newChild argument for a node The DOMException exception code is WRONG_DOCUMENT_ERR. The DOMException exception code is HIERARCHY_REQUEST_ERR.
3 If you specify null for the qualifiedName argument of the createElementNS(String namespaceURI, String qualifiedName) method for the Document interface The DOMException exception code is INVALID_CHARACTER_ERR. The DOMException exception code is NAMESPACE_ERR.
4 If 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 property The KECX01603-E error is reported. The KECX01338-E error is reported.