Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

which parser?

 
Victor Htet
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am preparing for test 141. Which XML parser should I use to cover exam objectives? MS XML parser or JAXP?
Thanks
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go with JAXP, or even Xerces-J from xml.apache.org
BTW, JAXP is bundled with JDK 1.4. So you can infact just get JDK and automatically get JAXP as well as Crimson.
 
Victor Htet
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply. I would also like to use JAXP because I am also a SCJP. But in Professional XML 2nd Edt., examples use MS XML Parser and that book is listed on IBM resource page for 141.
We are not asked any specific about Vendor-dependent parser in Exam, are we?
Thanks,
Victor Htet
 
Sunny Liu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JAXP is not a parser at first, It is an interface for you to use any third-party parser, such as Apache Xecers, IBM XML4J etc. it makes your code portable in java platform.
 
Victor Htet
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I understand JAXP is not a parser.
What I really asked was does exam ask vendor-dependent parser questions? Because IBM has xml4j and it also has it's own functions on top of SAX and DOM.
Aung Htet
Sun Certified Programmer
Sun Certified Web Component Developer
Sun Certified Enterprise Architect
 
Sunny Liu
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No, Exam is language independent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic