Matthias Hopfer wrote:
Hi all,
Currently i'm trying to parse a well formed xml from memory via
MemBufInputSource.
// init above works fine
// code start
...
catch (...)
{
TRACE ( _T("CXmlHandler::parseDataRequest(): catched UKNOWN
Exception\n") );
}
//...
}
// code end
Every time i catch an 'Unknown Exception' and i don't know why. If i'm
parsing the file directly from HDD, it works without any errors. The
file itself is a wellformed xml but pretty 'huge' (39610 bytes).
Assuming that there are no mistakes reading the file into memory (did it
quite often...=), i have absolutely no clue what i'm doing wrong.
Anybody hints?
If I had to guess, I would say it's an access violation. However,
instead of having us guess, you might want to run this in the debugger.
It looks like you're using Visual Studio, so the debugger will display
the type of exception in the output window. You can also configure the
debugger to break when an exception is thrown, which will help you
determine where the exception is thrown.
Dave