Hi David, David Kelvin <[EMAIL PROTECTED]> writes:
> The downside - something I didn't realise - was that to have a static > build of Xerces included, then I need to have a static build of the > whole MS MFC environment. I really only wanted the former, so that > I did not have to distribute Xerces with the application. I am pretty sure you can change the runtime type to DLL in the Xerces-C++ project and rebuild the static library. The requirement here is that both your application and the library are built using the same runtime, not that they have to use the static runtime. > The parsing and schema checking works fine but, if I have a certain > complex element in the schema [irrespective on whether the XML file > has any of them], I get 4 memory leaks on program termination. Can you send us the schema that triggers this? Preferably by submitting a bug report and attaching the schema to it: https://issues.apache.org/jira/browse/XERCESC Thanks, Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde
