I am having trouble with LocalFileFormatTarget on Linux (Xerces 2.2).

LocalFileFormatTarget *outFile;
try{
outFile = new LocalFileFormatTarget(path);
}
catch(...)
{
// making up an error and passing it back to the app that called into this
function
}

This works fine when the path is ok.  It even works fine when the path is
just "bad" (i.e. /home/myapp/foo;;.xml).  However, when the path is "really
bad" (;;;/home/myapp/foo.xml), Xerces crashes and brings down my app.  When
I use bt in gdb,  it shows that I am throwing an exception and then
terminating.  How is it that I am not catching this exception?  I even
included a separate case where I first try to catch XMLExceptions and then
try to catch all.  I looked in the mail archives and couldn't find any
record of this sort of situation.

Thanks!




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to