File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Use of common digester to parse large xml file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Use of common digester to parse large xml file" Watch "Use of common digester to parse large xml file" New topic
Author

Use of common digester to parse large xml file

Supriya khare
Greenhorn

Joined: Jul 19, 2008
Posts: 10
I have started using common.Digester library for parsing a large xml file. If the file has an invalid tag it throws SAXParseException which I am catching and finding the line number and column of error. I would like to continue with other valid entries. Is there a way I can do this using digester.


Smileyk
SCJP5
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19528
    
  10

No, you can't do that with any XML parser.
Paul Clapham
Sheriff

Joined: Oct 14, 2005
Posts: 19528
    
  10

Java xman,
Your post was moved to a new topic.
 
Consider Paul's rocket mass heater.
 
subject: Use of common digester to parse large xml file