DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16817>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16817
Non-leaf-node UserDataHandlers not notified of NODE_DELETED (w/patch)
Summary: Non-leaf-node UserDataHandlers not notified of
NODE_DELETED (w/patch)
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: Other
Component: DOM
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: ncodding@pureedge.com
When a DOMDocument is release()'ed, the UserDataHandlers for every node in the
Document are called with NODE_DELETED. The current implementation, however,
only actually makes that call on UserDataHandlers that are attached to leaf
nodes in the DOM. Non-leaf nodes' UserDataHandlers are not informed of the
Document being destroyed. In addition, Attr nodes do not have their handlers
called either.
The included patch fixes this problem in
DOMDocumentImpl::releaseDocNotifyUserData().
This bug is present in the most recent code as of Feb 5, 2003.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org
|