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 Regarding Parsers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Regarding Parsers" Watch "Regarding Parsers" New topic

Regarding Parsers

Jose Mon
Ranch Hand

Joined: Feb 13, 2007
Posts: 30
I found most of the java applications are using xerces parser for parsing xml's. I think parsing can be done by using standard java packages without using these third party jars. Can anybody explain the advantage of using these xerces(or any other) over sun's impl.
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12868
Several generations ago in the Java universe, the Xerces libraries were considered the best available. Ever since about Java 1.4 the standard library in the SDK has been perfectly usable. There has always been a lot of communication between people working on Sun's libraries and IBM's libraries with various Apache Software Foundation projects such as Xerces so that should be no surprise.

These days I would feel very silly telling a customer that he or she has to install separate libraries when they have Java 1.5 or 1.6 already.

It is sorta covered in the JavaRanch Style Guide.
subject: Regarding Parsers