Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
58 user(s) are online (40 user(s) are browsing Forums)

Members: 0
Guests: 58

more...

Support us!

Recent OS4 Files
OS4Depot.net






expat.library abort scanning
Just popping in
Joined:
2015/9/29 0:42
From Bettendorf, IA, USA
Posts: 218
Let's say in the StartElement or CharacterElement of the scanning process there is an error (not enough memory). How do I abort the scanning process?

   Report Go to top

Re: expat.library abort scanning
Home away from home
Joined:
2006/12/4 23:15
Posts: 2178
@mritter0


Make sure your context is part of your userdata structure then do something like

if(error condiation)
{
    
IExpat->XML_StopParser(userdata->parser,XML_FALSE);
}



_________________
Blender For OS4.x : Blues : Walker Broad
   Report Go to top

Re: expat.library abort scanning
Just popping in
Joined:
2015/9/29 0:42
From Bettendorf, IA, USA
Posts: 218
Thank you.

_________________
Workbench Explorer - A better way to browse drawers
   Report Go to top





[Advanced Search]



Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project