This package contains XML utilities, including four SAX2 parsers. Note that all the SAX2 aware classes may also be used (through a ParserAdapter) with parsers that only expose SAX1 APIs, though with a certain graceful degradation of functionality.

Parsers

The parsers in this package are:

The wrappers for the Sun and Oracle parsers are the only pieces here which depend on code which is not is not Open Source or Public Domain, other than core JDK code (such as SWING and Strings). At this writing, Sun's code is commercially redistributable, but you can't modify it (sigh). For a complete Open Source solution, you can use the validating and nonvalidating versions of Ælfred in the aelfred2 sub-package.

Other Utilities

This package includes three handler utilities:

Two DOM support classes provide APIs to address two fundamental portability problems with the DOM as currently defined by W3C. The DOM Builder provides a way to connect a DOM implementation to an arbitrary SAX parser, including the ones provided in this package. You can configure both the parser and the builder. The DOM Factory addresses a slightly different problem: how to get an empty DOM document.

There is a command line utility to connect parsers to handlers and process individual documents.