Login
Username:

Password:

Remember me



Lost Password?

Register now!
Sections
Who's Online
85 user(s) are online (71 user(s) are browsing Forums)

Members: 0
Guests: 85

more...
Support us!
Recent OS4 Files
OS4Depot.net





expat.library abort scanning
Just popping in
Joined:
2015/9/28 23:42
From Bettendorf, IA, USA
Posts: 215
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: 2146
@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/28 23:42
From Bettendorf, IA, USA
Posts: 215
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