You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (JIRA)" <xe...@xml.apache.org> on 2017/07/12 16:54:01 UTC

[jira] [Resolved] (XERCESC-2055) DOMUserDataHandler not called when a removed node is deleted

     [ https://issues.apache.org/jira/browse/XERCESC-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Cantor resolved XERCESC-2055.
-----------------------------------
    Resolution: Not A Problem

If you can find a reference showing otherwise, please add it, but my quick read is that there is no reason it should be. NODE_DELETED gets called on release, but removing a child doesn't release it, just removes it from the tree. There's no NODE_REMOVED or NODE_ORPHANED event.

> DOMUserDataHandler not called when a removed node is deleted
> ------------------------------------------------------------
>
>                 Key: XERCESC-2055
>                 URL: https://issues.apache.org/jira/browse/XERCESC-2055
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4
>         Environment: Windows 7
>            Reporter: TRIPOZ Jacques
>
> The DOMUserDataHandler callback is not called if the node is removed (using something like aNode->getParentNode()->removeChild(aNode);)
> I can send sample code demonstrating this.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org