DBXML query: Debug Assertion Failed - 06-15-2004 , 10:52 AM
I have the following problem when I do a simple XPath Query:
when executing the program, it says to me
Debug Assertion Failed!
This is when the program reaches value.asString() in this (only very
simple) example function:
void doQuery( XmlContainer &container, const string &XPath)
XmlResults results( container.queryWithXPath(0, XPath, 0 ));
cout << value.asString() << endl;
I'm using MVC++ 6.0
Too, when compiling I get the (here translated) debug warning
....\xmlexception.hpp(23) : warning C4275: class 'exception' is no
DLL-interface and was used as a basis class for the DLL-interface
See declaration of 'exception'
0 errors, 1 warning
Is this warning of particular relevance?
Re: DBXML query: Debug Assertion Failed - 06-21-2004 , 10:30 AM
There is a better resource for Berkeley DB XML questions -- the
DB XML mailing list, which is xml (AT) sleepycat (DOT) com. You can sign
up for this list by sending email to xml-subscribe (AT) sleepycat (DOT) com
That said, your problem could be a mismatch of compilation types.
There are 4 modules involved -- your program, BDB XML library, Xerces
library, and Pathan library. All of them should be compiled using
the same debug (or not) settings.