[
https://issues.apache.org/jira/browse/XERCESJ-1322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ludger Bünger updated XERCESJ-1322:
-----------------------------------
Attachment: SubtreeModifiedTestcase.java
Junit testcase reproducing the bug.
> DOMSubtreeModified event is not thrown upon node removal if the removed node
> contains attributes and a undo clone of the node is created inside the
> DOMNodeRemoved event.
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: XERCESJ-1322
> URL: https://issues.apache.org/jira/browse/XERCESJ-1322
> Project: Xerces2-J
> Issue Type: Bug
> Components: DOM (Level 2 Events)
> Affects Versions: 2.9.1
> Reporter: Ludger Bünger
> Attachments: SubtreeModifiedTestcase.java
>
>
> DOMSubtreeModified event is not thrown upon node removal if the removed node
> contains attributes and a undo clone of the node is created inside the
> DOMNodeRemoved event.
> 4 conditions all have to be met to reproduce this:
> 1) The removed node needs to has an attribute that is internally represented
> as text node, not a string
> 2) there also needs to be an attribute modified listener present
> 3) the modification has to be a removal (other do not cause this)
> 4) the removed has to be deep cloned (including the attributes inside) in the
> domNodeRemoved event caused by condition 3.
> I'll provide a test case at hand to reproduce the issue
--
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]