• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jaxp parser!!, Parsing with Jaxp API!!

 
subramaniam vaidyanathan
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic