O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Choosing a Parser

Although the JAVA API for XML Processing defines standard interfaces to connect to XML parser implementations, various parsers are available to choose from. In this section, the three major parsers currently available in XML will be presented: the Apache Xerces Parser, the Apache Crimson Parser, and the GNU GNUJAXP parser (see Table 16.1).

Table 16.1. Major Java Parsers
Name License Features Location
Xerces Apache License JAXP 1.1 (with Xalan XSLT) http://xml.apache.org/xerces-j/
Crimson Apache License JAXP 1.1 minus the javax. xml.transform package http://xml.apache.org/crimson/index.html
GNUJAXP GNU Public License JAXP v1.1 http://www.gnu.org/software/classpathx/jaxp/

Note

In addition to the open source standalone Java parsers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required