Hi Robert,
it's hard to tell what's wrong without seeing your code. I would guess
you are allocating an object on the stack that is destroyed before the
parsing take place...
Could you share the code you are using?
Alberto
Il 14/04/2011 17:56, Robert Wermuth ha scritto:
Hello,
I am using xerces 3.1.1 with the SAX2XMLReader. I use
pParser->setEntityResolver() to install my own entity resolver. I compile my
project with Visual Studio c++ 9.1 (using the static xerces libs). But in
the Release build my program crashes on pParser->parseFirst() when I set my
entity resolver.I tried to compile the example code shown there:
http://xerces.apache.org/xerces-c/apiDocs-3/classXMLEntityResolver.html. But
I get a compiler error (XMLResourceIdentifier::SystemId is not defined.). Is
there an error in the lib?
Greetings
Robert