aspose file tools*
The moose likes XML and Related Technologies and the fly likes Jaxp parser!!, Parsing with Jaxp API!! 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 parser!!, Parsing with Jaxp API!!" Watch "Jaxp parser!!, Parsing with Jaxp API!!" New topic
Author

Jaxp parser!!, Parsing with Jaxp API!!

subramaniam vaidyanathan
Greenhorn

Joined: Jun 25, 2001
Posts: 10
Hi,
I have been working with Jaxp, Sax, Dom, Crimson and XP for the past year and it surprises me to see so many people getting all the wrong ideas about what jaxp is. Jaxp is not a parser, it is not a parsing API.. Yes Jaxp is an API, but Sax and Dom are APIs for parsing XML.. Jaxp is an API which can be seen more as a layer on top of a Sax or Dom implementation.. It makes it easier to deal with Sax and Dom tasks.. It is more of an abstraction layer.. Without Sax or Dom or any other XML parsing API, you cannot parse XML.. Jaxp is NOT an XML parsing API.. I beleive part of this misunderstanding is because the jaxp distribution from Sun carries the Crimson parser, the Sax and Dom implementation classes as part of it.. But if we would look closer, we would see that the distribution has actuall two parts, jaxp.jar which is the jaxp API and parser.jar which has nothing to do with Jaxp but is the Crimson parser and implementations of the Sax and Dom API classes.. Hope this helps for a better understanding..
 
 
subject: Jaxp parser!!, Parsing with Jaxp API!!