Choosing a proper Java XML Parser

There are several Java XML Parsers available in the market. The functionalities and the way the parser works keeps on changing as the standards change. It is dynamic. Now-a-days it is essential that a parser should support DOM Level 2, XSLT, SAX 2 and Namespaces.

The reliability, conformance to standards, and the performance of a parser will vary widely. So you have to check out these factors before you decide on the type of parser that you are going to use for your Java Application.

The Apache parser, the Oracle Parser, and the Sun Parser are the common ones that are available for your Java applications. However you can choose other parsers based on the capability of that parser.

The Apache parser known as the Xerces is based on the IBM's XML4J parser. This parser supports the DOM Level 1, SAX 1.0 and 2.0 along with limited support for DOM Level 2 and XML Schemas. You have to add the xerces.jar file to the classpath if you want to use this parser.

The Oracle parser also support DOM and SAX and has APIs for working with XSLT. A package called oracle.xml.parser.schema is available to support Schemas too.

The Sun parser supports, DOM, SAX, Schema, and also XSL. The XSLT support is from Xalan of Apache. The files like jaxp.jar, crimson.jar, and xalan.jar needs to be added to the classpath to work with this parser.

SetApp - 100 Apps for everything you ever wanted to do on Mac

FREE Subscription

Subscribe to our mailing list and receive new articles
through email. Keep yourself updated with latest
developments in the industry.


Note : We never rent, trade, or sell my email lists to
anyone. We assure that your privacy is respected
and protected.


| About Sequences and their attributes in Oracle10g | Accessing Remote data with Database Links in Oracle10g | A Guide to Iterative Processing with Loops in PL/SQL | A note on Dynamic SQL and its implementation in PL/SQL Application | Autonomous Transactions in Oracle – How to create and use if efficiently | Backup and Recovery – Best Practices in Oracle10g | Compiling Procedures, Functions and Packages during Application Development in Oracle10g | Introducing Publish-Subscribe Model in Oracle10g | Exploring Debugging Procedures in Oracle10g | External Procedures and their uses in Oracle10g | Guidelines for Locking Data in Oracle10g | How to customize an oracle10g Database using Database triggers | Specifying Constraints while creating table in Oracle10g to enhance Data Integrity |



FREE Subscription

Stay Current With the Latest Technology Developments Realted to XML. Signup for Our Newsletter and Receive New Articles Through Email.



Note : We never rent, trade, or sell our email lists to anyone. We assure that your privacy is respected and protected.



Add to My Yahoo!

Visit XML Training Material Guide Homepage



“Amazon and the Amazon logo are trademarks of, Inc. or its affiliates.”

Copyright - © 2004 - 2019 - All Rights Reserved.