• 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

XML parsers

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the difference between IBM and Sun XML parsers?
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Except the fact that they are from two separate vendors, there shouldn't be any visible difference. It is like asking what is the difference between a PC from Compaq and a PC from Dell. As an user, both should deliver at least what is expected out of it. Any fancy feature would just be an added bonus.
Similarly all parsers should adhere to a common set of rules of XML parsing -like checking well-formedness, checking validity, resolving external entities, resolving namespaces etc. These requirements define the common denominator. Parser implementations from different vendors are often bundled with extra classes that offer value-added features.
In order to eliminate the pains of coping with idiosyncratic parser behaviors, Sun has provided the JAXP framework. Using JAXP you can achieve a higher level of abstraction and transparency while using different parsers.
Hope that helps!

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just like automobiles, one parser might fair better than another under specific conditions - such as size of the XML file, complexity of structure, processor speed, memory and other OS resources, optimization features turned on etc..
When these conditions change the performance( or any measured entity ) matrix might change too.
Checkout a sample performance test statistics of different parsers. I suggest you take the figures with a pinch of salt since those parsers have later versions available now.
Cheers!
------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
Could you hold this kitten for a sec? I need to adjust this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic