[xml] Push mode - error checking



Hello,


can I when using the parser push mode with xmlParseChunk()
get parser errors before the entire file is read?
I am using the example at http://xmlsoft.org/library.html
and I only get an error, when the entire input is read.

What I want is e.g that xmlParseChunk() would flag an error,
after e.g. the following is read

----snip
<a>
</b>
----snip

so that a networking application is able to signal the
other side, that the remaining input is no longer needed,
as the file is already bogus.

Or is this only doable with SAX?

Thanks
 Heiko


--
Heiko W. Rupp
Project Management
WiredMinds Informationssysteme GmbH
Wilhelmsplatz 11
D-70182 Stuttgart

Email: Heiko Rupp WiredMinds de            Phone: +49 711 49048-232
Mobile: +49 172 7471 438                   Fax:   +49 711 49048-111




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