This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes JAXP and SAX 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 "JAXP and SAX" Watch "JAXP and SAX" New topic


Suresh Appagundi
Ranch Hand

Joined: Sep 22, 2003
Posts: 44
What is the difference between JAXP and SAX?

Which is preferable to use and why?

And also what is advantageous to use SAX2.0 rather than SAX1.0.

Any sites regarding above please let me know.

thanks in advance
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12868
JAXP is what Sun calls the current Java API for XML Processing. See this site.

The current Java 1.4 includes basic XML processing capability for both DOM and SAX processing - these libraries were previously (SDK 1.3) distributed as JAXP.

The current JAXP appears to add some additional functionality that you may not need.

wood burning stoves
subject: JAXP and SAX