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
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply 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: 16483
    
    2

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

Joined: Oct 14, 2005
Posts: 16483
    
    2

Java xman,
Your post was moved to a new topic.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Use of common digester to parse large xml file
 
Similar Threads
Tomcat and Digester class (Jakarta-Commons)
Design issue in jsp
escape special characters in parser's input
Which XML Parser should I use?
apache digester parsing issue