[Expat-discuss] Cancelling Parsing

Gerald Schmidt gnschmidt at ukonline.co.uk
Sun Apr 23 15:18:42 CEST 2006


enum XML_Status XMLCALLXML_StopParser(XML_Parser p,               XML_Bool 
resumable);Stops parsing, causing XML_Parse or XML_ParseBuffer to return. 
Must be called from within a call-back handler, except when aborting (when 
resumable is XML_FALSE) an already suspended parser.(From the documentation 
that ships with the Dev-C++ Expat package.)----- Original Message -----  
From: "Søren Dreijer" <halloko at hotmail.com>
To: <expat-discuss at libexpat.org>
Sent: Sunday, April 23, 2006 10:01 AM
Subject: [Expat-discuss] Cancelling Parsing


Hi,

I'm looking for an easy way to cancel parsing of an XML document.
For instance, imagine you discovered some invalid text input in a specific 
tag. What would be the best-practice way to cancel parsing the rest of the 
document?

Thanks,

Søren Dreijer
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
_______________________________________________
Expat-discuss mailing list
Expat-discuss at libexpat.org
http://mail.libexpat.org/mailman/listinfo/expat-discuss



More information about the Expat-discuss mailing list