You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by vi...@lightningcast.com on 2003/04/09 20:54:50 UTC

Resetting a hung parser

Hi All.

Lets say we are trying to parse an XML file whose source is an URI like http://abc/x.xml

Now, if the remote server fails to respond, the parser invariably just hangs.

Whats the best way to get the parser out of this state ? 

ResetDocumentPool does nothing if it thinks a parsing session is in progress.

Is Terminate() advisable out here ? it looks like an expensive thing to do....

Any hints / timely inputs would be greatly appreciated..

-Vinayak

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org