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 "Alberto Massari (JIRA)" <xe...@xml.apache.org> on 2007/07/17 16:45:05 UTC

[jira] Commented: (XERCESC-1722) DOMUserDataHandler events are not triggered when cloning documents

    [ https://issues.apache.org/jira/browse/XERCESC-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12513260 ] 

Alberto Massari commented on XERCESC-1722:
------------------------------------------

Oops, hit the send button too soon...
The 'dataHandler called' is for the 'release' event; the notification is not sent because the handler is attached to the root element, and it's the document that is being cloned. Attaching it to the document works.

Alberto

> DOMUserDataHandler events are not triggered when cloning documents
> ------------------------------------------------------------------
>
>                 Key: XERCESC-1722
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1722
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: DOM
>    Affects Versions: Nightly build (please specify the date)
>         Environment: any
>            Reporter: Boris Kolpackov
>            Priority: Critical
>         Attachments: clone.cxx
>
>
> The attached test case shows that the data handler "clone" event is not triggered when the complete document is being cloned. This test case is for the 3.0.0 branch and expects a file named "test.xml" to be present in the working directory. The contents of
> test.xml are no important as long as it is a valid XML file.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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