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.0 (beta4) 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 this package.


Introduction
 

The Xerces2 Java Parser 2.0.0 (beta4) 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
 
  • DOMImplementationRegistry (see DOMImplementationSource)
  • DOMImplementationRegistry (DOMImplementationSource really)
  • Node.isSameNode()
  • Node.getInterface()
  • Node.set/getUserData()
  • DOMErrorHandler, DOMError, DOMLocator

Implementation of DOM Level 3 Load and Save
 
  • DOMBuilder - supports all required features. Does not provide implementation to parseWithContext() and DOMBuilderFilter
  • DOMWriter - supports all required features. Provides support for "format-pretty-print " (true)
  • DOMInputSource
  • DocumentLS
  • DOMImplementationLS

Implementation of DOM Level 3 Abstract Schemas
 
  • DOMImplementationAS
  • DOMASBuilder that allows to preparse XML Schemas and set those on the parser.
Note: DOMASBuilder only allows pre-parsing of XML Schemas. The parser provides a partial implementation for ASModel so that it can serve as a containter for several grammars. For more information, see dom.ASBuilder sample.


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