#54 SaveFile does not set error on failure

open
nobody
None
5
2007-02-23
2007-02-23
No

I'm not sure if this is a bug, but it will be nice if TiXmlDocument::SaveFile() sets a specific error message on failure, something like that:

SetError( TIXML_ERROR_SAVING_FILE, 0, 0, TIXML_ENCODING_UNKNOWN );

Now, it simply returns false, leaving all error-related variables unchanged.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks