aspose 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
Bartender

Joined: Oct 14, 2005
Posts: 18910
    
    8

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

Joined: Oct 14, 2005
Posts: 18910
    
    8

Java xman,
Your post was moved to a new topic.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Use of common digester to parse large xml file