Re: [xml] Push mode - error checking



Hello,

  Well in general when people have errors in XML files they might
be interested in knowing about it. It's the default behaviour, 
also note that the default behaviour logs the error messages.

Which makes sense.

The progressive parser is not different in this respect than the
non-progressive one. The errors are logged as they are found, not
batched until the end of the resource is detected.

Yes. But in the push mode, I can stop parsing when I find the
first error and e.g. signal the other end of a network pipe that
I am no longer interested in the bogus data (which still can be
Megabytes).

 Heiko




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]