Document Object Model Level 3 Implementation

| Introduction |
| The Xerces2 Java Parser 2.11.0 contains an implementation of the Document Object Model Level 3 Core and Document Object Model Level 3 Load and Save Recommendations. To learn how to program with the DOM Level 3 see dom.DOM3 sample.
| Implementation of DOM Level 3 Core |
| DOM Level 3 Core DOMConfiguration `parameters` supported are: error-handler [ DOMErrorHandler ] resource-resolver [ LSResourceResolver ] 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/false ] 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 only supported against XML Schemas and DTDs. 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 |
| Additional DOM Level 3 Load and Save DOMConfiguration `parameters` supported: charset-overrides-xml-encoding [ true/false ] disallow-doctype [ true/false ] ignore-unknown-character-denormalizations [ true ] supported-media-types-only [ false ] discard-default-content [ true/false ] format-pretty-print [ true/false ] xml-declaration [ true/false ] Here is the list of DOM Level 3 Load and Save limitations: LSParser parserWithContext -- not supported. DOMImplementationLS MODE_ASYNCHRONOUS -- not supported. LSSerializer - the following parameters are not supported: normalize-characters [ true ]

Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.