PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2957 *** shadow/2957 Wed Aug 1 15:50:38 2001 --- shadow/2957.tmp.28054 Wed Aug 1 15:50:38 2001 *************** *** 0 **** --- 1,29 ---- + +============================================================================+ + | importNode(Node importedNode, boolean deep) does not import attribute valu | + +----------------------------------------------------------------------------+ + | Bug #: 2957 Product: Xerces2-J | + | Status: NEW Version: 2.0.0 [alpha] | + | Resolution: Platform: PC | + | Severity: Major OS/Version: Windows NT/2K | + | Priority: Other Component: DOM | + +----------------------------------------------------------------------------+ + | Assigned To: [EMAIL PROTECTED] | + | Reported By: [EMAIL PROTECTED] | + +----------------------------------------------------------------------------+ + | URL: | + +============================================================================+ + | DESCRIPTION | + The method importNode(Node importedNode, boolean deep) does not import the + attribute values even on a deep clone. I try to import an element from + Document A into Document B under the root. The following snippet shows the + code I use : + + ... assume that docA and docB are two well-formed XML documents. + Element rootA = docA.getDocumentElement(); + Element rootB = docB.getDocumentElement(); + rootB.appendChild(docB.importNode(rootA,true)); + + The above code works fine except that it does not import the attribute values. + Is this is a bug or am I doing something wrong here ? + Thanks in advance, + Adarsh \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
