You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by "Bielik, Robert" <Ro...@gyros.com> on 2013/02/25 13:43:49 UTC

Access violation when removing a child node

Hi all,

We're having an application where we need to remove child nodes in the DOM tree, however we get an access violation in DOMNodeIteratorImpl::matchNodeOrParent since fCurrentNode is == NULL.

This is in Xerces-C++ version 3.1.0.

Ideas?,
/Rob
Ps. I've seen a similar issue reported for Xerces-C++ 2.8, where the suggested solution was to return a null element if fCurrentNode == 0, and with that fix it seems to work.