[xsd-users] AV exception at getDOMImplementation() call

Boris Kolpackov boris at codesynthesis.com
Thu Sep 11 05:39:17 EDT 2008


Hi Gennady,

Gennady Khokhorin <gok at aerometric-ak.com> writes:

> I'm getting error message dialog box "Unhandled Exception at ... in
> explorer.exe: 0xc00..5: Access Violation reading 0x0..0" at this call:
> 
> static const XMLCh m_gLS[] = { chLatin_L, chLatin_S, chNull };
> DOMImplementation	*impl =
> DOMImplementationRegistry::getDOMImplementation(m_gLS);
> 
> I'm using msvc8.0, MFC. Application is Explorer.exe shell extention
> (winXP+sp3).
> 
> Can not figure out what could be wrong. Stand-along xerces examples
> (DOMCount) are running/debugging fine.

In the majority of case this would point to the uninitialized Xerces-C++
runtime. Can you check if you call xercesc::XMLPlatformUtils::Initialize()
before calling getDOMImplementation()?

Boris




More information about the xsd-users mailing list