This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma 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

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: 13001
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.

I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: JAXP and SAX
It's not a secret anymore!