Hi, can anybody help me with this? I want to parse an XML document using XercesDOMParser. I built Xerces-2-7-0 with Visual Studio 2005 (with just some warnings). I tried to use XercesDOMParser* and XercesDOMParser.
In the first case I get some linker errors concerning AbstractDOMParser: ------------------------------------------------------------------------ code: XMLPlatformUtils::Initialize(); XercesDOMParser *parser = new XercesDOMParser(); XMLPlatformUtils::Terminate(); linker errors (unresolved external symbols): (only some of them ...) public: virtual void __thiscall xercesc_2_7::AbstractDOMParser::docCharacters (unsigned short const * const,unsigned int,bool) public: virtual void __thiscall xercesc_2_7::AbstractDOMParser::docComment (unsigned short const * const) public: virtual void __thiscall xercesc_2_7::AbstractDOMParser::docPI(unsigned short const * const,unsigned short const * const) public: virtual void __thiscall xercesc_2_7::AbstractDOMParser::endElement (class xercesc_2_7::XMLElementDecl const &,unsigned int,bool,unsigned short const * const) public: virtual void __thiscall xercesc_2_7::AbstractDOMParser::ignorableWhitespace(unsigned short const * const,unsigned int,bool) In the second case ------------------ code: XMLPlatformUtils::Initialize(); XercesDOMParser parser; XMLPlatformUtils::Terminate(); the code compiles fine but the application crashes with an access violation in DOMDocumentImpl::deleteHeap() [in line fMemoryManager->deallocate (fCurrentBlock);] when trying to delete the parser object at the end. Each hint is highly welcome. Many thanks in advance, Lydia.
