http://xml.apache.org/http://www.apache.org/http://www.w3.org/

Home

Readme
Charter
Release Info

Installation
Download
Bug-Reporting

FAQs
Samples
API JavaDoc

Features
Properties

XNI Manual
XML Schema
SAX
DOM
Limitations

Source Repository
User Mail Archive
Dev Mail Archive

Introduction
 

The Xerces2 Java Parser 2.7.1 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 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
 

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 [ 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-2005 The Apache Software Foundation. All Rights Reserved.