[
https://issues.apache.org/jira/browse/XERCESC-1722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alberto Massari resolved XERCESC-1722.
--------------------------------------
Resolution: Invalid
Hi Boris,
I tried your testcase, and this is what I got
--- Before clone document
--- After clone document
dataHandler called
But I had to fix the definition of the CustomDataHandler class to compile it,
as the 'handle' method has a
const XMLCh * const /*key*/
argument, not a
const XMLCh * /*key*/
as you wrote.
Maybe the compiler you are using is less forgiving?
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]