• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Implementation Dependancy of DOM and SAX

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
Does any one here knows the meaning of "Implementation Dependancy of DOM and SAX Parser".
Actually i have to do a comparison of diferent parsers for above topic.Any docs/links regarding implementation dependancy will be of great help.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Typically parsers that build DOM Document objects actually use a SAX parser to scan the input text. Thats why you get a SAXException from a DOM parser parse method.
Does that count as "Implementation Dependency"???
Bill
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ajit Kanada:
Actually i have to do a comparison of diferent parsers for above topic.

I can't figure out what is there to compare? If you use the JAXP API, there is no dependency to the implementation and that's it.
Of course, anything that is not provided by the standard JAXP API (e.g. schema validation in all but the latest versions of JAXP) is completely implementation-dependent.
Or am I missing something here?
 
Aji Ozkan
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HI Lasse Koskela
I am doing a study of 6 diff XML Parsers(All written in Java).
I need to find out the implementation dependency in thses parsers.
How do i do it?
I hope my question is clear.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ajit Kanada:
I hope my question is clear.


Well, if I'd only know what "implementation dependency" means...?
If it means just whether a given parser can be used through the standard JAXP APIs, then the answer should be right there in the parser's documentation. If it's something else, you'll have to define the term to us.
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I suppose you could compare the degree of support for various XML standards.
This page at the W3C could get you started on the various standards.
Bill
 
Joel Salatin has signs on his property that say "Trespassers will be Impressed!" Impressive tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic