File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes JAXP VS Xerces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "JAXP VS Xerces" Watch "JAXP VS Xerces" New topic

JAXP VS Xerces

Gayathri Prasad
Ranch Hand

Joined: Jun 25, 2003
Posts: 116
Hi Guys,
Please give me a Crisp comparision of JAXP and Xerces and which is better.
People say JAXP is a processor and Xerces is a parser. What do they mean essentially ? .Thanx in advance.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
IBM DeveloperWorks has published an article that explains what JAXP actually is.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Rahul Mahindrakar
Ranch Hand

Joined: Jul 28, 2000
Posts: 1868
Hi Gayathri ,
JAXP is a specification + a parser
Through the specification one can plug in any parser like Xerces for example.
Thus we all need to use JAXP so that we can change the parser any time we want. It also as a parser along with it.
I agree. Here's the link:
subject: JAXP VS Xerces
jQuery in Action, 3rd edition