Document Object Model Level 3 Implementation

| Disclaimer |
| The XML Parser for Java 4.3.0 contains a partial implementation of the W3C Document Object Model Level 3. The DOM Level 3 specification is at the stage of Proposed Recommendation, which represents work in progress and has been widely reviewed and satisfies certain technical requirements but may still change based on implementation experience. This implementation is experimental: it should not be considered as complete or correct.
| Introduction |
| The XML Parser for Java 4.3.0 contains an implementation of the Document Object Model Level 3 Core and Document Object Model Level 3 Load and Save Proposed Recommendations. To learn how to program with the DOM Level 3 see dom.DOM3 sample.
| To find out how to access DOM Level 3 functionality, please refer to the FAQ .
| Implementation of DOM Level 3 Core |
| The `parameters` supported are: error-handler [ DOMErrorHandler ] resource-resolver [ DOMResourceResolver ] schema-type [ String ] schema-location [ String ] canonical-form [ false ] cdata-sections [ true/false ] comments [ true/false ] namespaces [ true/false ] entities [ true/false ] infoset [ true/false ] namespace-declarations [ true ] normalize-characters [ false ] split-cdata-sections [ true/false ] validate-if-schema [ true/false ] element-content-whitespace [ true ] datatype-normalization [ true/false ] validate [ true/false ] -- revalidation is supported only against XML Schemas. For more information, please refer to How to revalidate DOM in memory? . validate-if-schema [ true/false ] check-character-normalization [ false ] well-formed [ true/false ] psvi [ true/false ] -- (NON-DOM) setting the value of this parameter to true will include PSVI information in the DOM tree.
| Implementation of DOM Level 3 Load and Save |
| Most of the functionality is implemented. Here is the list of limitations: LSParser parserWithContext -- not supported. DOMImplementationLS MODE_ASYNCHRONOUS -- not supported. LSSerializer - the following parameters are not supported: normalize-characters [ true ]