http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1533 *** shadow/1533 Thu Apr 26 07:23:44 2001 --- shadow/1533.tmp.11170 Thu Apr 26 07:23:44 2001 *************** *** 0 **** --- 1,26 ---- + +============================================================================+ + | DOM_Node::cloneNode() does not clone the pointer value via setUserData() | + +----------------------------------------------------------------------------+ + | Bug #: 1533 Product: Xerces-C | + | Status: NEW Version: 1.4 | + | Resolution: Platform: Sun | + | Severity: Normal OS/Version: Solaris | + | Priority: Component: DOM | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + Why DOM_Node::cloneNode() does not clone the pointer assigned to a NOM_Node via + DOM_Node::setUserData()? + + I only use DOM_Node::setUserData() to mark a node with a value: + + minode.setUserData( (void *) 1 ); + DOM_Node minode_cloned = minode.cloneNode(); + int processed = (int) minode_cloned.getUserData(); + + and when I clone this node, the getUserData() of the cloned node returns + processed=0. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
