This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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


Win a copy of Head First Android this week in the Android forum!
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: 19659
    
  10

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

Joined: Oct 14, 2005
Posts: 19659
    
  10

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
 
It's not a secret anymore!