Re: Cancelling Parsing
"Gerald Schmidt" <[email protected]>
| Newsgroups | gmane.text.xml.expat.general |
|---|---|
| Message-ID | <000c01c666d8$72ce0030$f41a86d4@Family> |
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" <[email protected]> To: <[email protected]> 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 [email protected] http://mail.libexpat.org/mailman/listinfo/expat-discuss