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

Home

Readme
Installation
Download
CVS Repository

Samples
API JavaDoc
XNI Manual
FAQs

Features
Properties

Release Info
Limitations
Report a Bug

Disclaimer
 

The Xerces2 Java Parser 2.0.1 contains a partial implementation of the W3C Document Object Model Level 3. This implementation is experimental. The DOM Level 3 specification is still in working draft stage: you should not consider this implementation complete or correct. The limitations of this implementation are detailed below. Please, read this document before using org.apache.xerces.dom3 package.


Introduction
 

The Xerces2 Java Parser 2.0.1 contains an implementation of a subset of the W3C DOM Level 3 as specified in Core, Abstract Schemas and Load and Save.

Note:DOM Level 3 interfaces are located in org.apache.xerces.dom3 package

Implementation of DOM Level 3 Core
 
Note: To be able to use DOM Level 3 Core functionality, you will need to cast to Xerces implementation (e.i. DocumentImpl, NodeImpl).
  • DOMImplementationRegistry (see DOMImplementationSource)
  • Document: set/getEncoding, set/getVersion, set/getStandalone, adoptNode.
  • Node: isSameNode
  • Node: getInterface
  • Node: set/getUserData
  • Node: isEqualNode()
  • DOMErrorHandler, DOMError, DOMLocator
  • Entity: set/getEncoding, set/getVersion

Implementation of DOM Level 3 Load and Save
 
  • DOMBuilder: does not provide implementation of parseWithContext() and DOMBuilderFilter.
  • DOMWriter: supports all required features and setting format-pretty-print feature to true. DOMWriter fixes namespaces during serialization.
  • DOMInputSource
  • DocumentLS
  • DOMImplementationLS

Implementation of DOM Level 3 Abstract Schemas
 
Note:Xerces does not provide implementation for editing schemas (AS-EDIT) nor we provide implementation for "Document-editing"
  • DOMImplementationAS
  • DOMASBuilder supports parsing of XML Schemas and setting the ASModel on the parser.
Note: DOMASBuilder does not support parsing of DTDs. The parser provides only partial implementation for ASModel. For more information on how to parse schemas and set those on the parser instance, see dom.ASBuilder sample.


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