xerces-p-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ted sandler" <tedsand...@rcn.com>
Subject How to reset a parser after errors encountered?
Date Thu, 09 May 2002 04:35:44 GMT
Xerces has been working great for me except for this one problem:

I am parsing a bunch of documents, and everything works okay until I hit a
bad one.  At this point, my program puts the bad document aside and attempts
to move onto the next document.  However, the parser keeps choking with the
following error:

  Error in `../data/a_and_c.xml':
  Parse may not be called while parsing

How does one reset the parser & its handlers so that the program can
continue processing documents?  I've tried calling &resetErrors but this
doesn't work.

Thanks in advance,
-ted sandler


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Mime
View raw message