Dave Flanagan wrote:
>
> The ErrorHandler interface in SAX has 3 methods defined
> warning, error, and fatalError
>
> You need to override the default behavior of the fatalError method
> in this interface.
> This method is called whenever an XML document is found not
> to be well formed. At this point, parsing should be stopped or
> continued only to try to find more errors.
>
> Hope this helps

It helped! By setting the continue-after-fatal-error feature and by
implementing empty ErrorHandler methods I am able to continue parsing the
document. The corrections have worked out for the (fairly simple) documents
I am parsing.

Thank you all for your help!

        Nicolas




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to