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 Charlie Hart <ch...@nc.rr.com> on 2001/04/16 23:23:02 UTC

file status after parse

After I parse the source file, is the file still open?
I'm trying to rename it for archive and I get an errno of 13 (EACCES).
thanks...charlie


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


Re: file status after parse

Posted by Dean Roddey <dr...@charmedquark.com>.
If you do a progressive parse, and stop before the end, it will remain open
until you call the reset method. If you do a regular parse, or a progressive
parse that successfully goes all the way to the end, it flushes all entities
on the way out, which will close the file.

--------------------------
Dean Roddey
The CIDLib C++ Frameworks
Charmed Quark Software
droddey@charmedquark.com
http://www.charmedquark.com

"Why put off until tomorrow what you can
put off until the day after tomorrow?"

----- Original Message -----
From: "Charlie Hart" <ch...@nc.rr.com>
To: "xerces forum" <xe...@xml.apache.org>
Sent: Monday, April 16, 2001 2:23 PM
Subject: file status after parse


> After I parse the source file, is the file still open?
> I'm trying to rename it for archive and I get an errno of 13 (EACCES).
> thanks...charlie
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
>


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