Two Laptop Bag
The moose likes XML and Related Technologies and the fly likes need a good parser available for free Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "need a good parser available for free" Watch "need a good parser available for free" New topic
Author

need a good parser available for free

wei Qiao
Greenhorn

Joined: Jun 19, 2000
Posts: 23
Can anyone provide information about all existing parsers (including free ones) and comparing them?
I am doing a little research for my group. I just barely know DOM and XML. Thanks a lot
Siegfried Heintze
Ranch Hand

Joined: Aug 11, 2000
Posts: 333
Javasoft.com has a parser but I like the one at xml.apache.org the best. However, neither one really uses the DTD.
Many of the books on XML (like Rusty Harold's XML Bible) talk about free parsers like www.alphaworks.ibm.com/tech/xml, www.datachannel.com/xml_resources, www.loria.fr/projects/XSilfide/EN/sxp, www.cogsci.ed.ac.uk/%7Erichard/xml-check.html or www.stg.brown.edu/service/xmlvalid.
www.jclark.com might have a validating parser too.
Being lazy (and having a copy of IIS available) I like to do XSLT and apply DTD via a little ASP script as I compose my XML documents. By hitting F5 frequently on my browser, my server side XSLT not only does the formatting, but the DTD checking too. This way I know immediately if something is not right.
------------------
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
What exactly do you mean by:
"Javasoft.com has a parser but I like the one at xml.apache.org the best. However, neither one really uses the DTD."
Both the JAXP package from Sun and the Xerces package from the Apache project provide validation by means of the DTD you supply. Supposedly they are both in full compliance with the appropriate standards on this.
Bill

------------------
author of:


Java Resources at www.wbrogden.com
 
 
subject: need a good parser available for free
 
Threads others viewed
which one is the best formation: Struts - Spring or JSF - Spring?
what is your favorite thing in your work place?
Source Code Audits
Any body need Voucher. Expiring in 30 June 2006
WA #1.....word association
IntelliJ Java IDE