repairing document while parsing?

2009-07-22 Thread Derek Alexander
Hi, Is there any way with xerces (or any other xml parser you know of) to plug in some kind of error handler that can attempt to repair the document being parsed, rather than just log errors. Specific case I have is xhtml documents that may have attribute values that aren't escaped properly, e.g

Re: repairing document while parsing?

2009-07-22 Thread Derek Alexander
. Three things see no end: A loop with exit code done wrong, > A semaphore untested, And the change that comes along. ..." > -- "Threes" Rev 1.1 - Duane Elms / Leslie Fish ( > http://www.ovff.org/pegasus/songs/threes-rev-11.html) > > > > Derek Alexander >