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=5955>.
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=5955

importNode() deletes attribute values

           Summary: importNode() deletes attribute values
           Product: Xerces-J
           Version: 1.4.4
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: High
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I found a duplicates of this bug (1915, 1674), but they were closed in the 
RESOLVED FIXED state, even if the problem still persist. I use the 1.4.4 
version, and still the importNode() method deletes attributes from the 
document. Since I don't know any workarounds, this one is very important to me. 
Here's my code snippet:

Document newdoc = db.newDocument();
try {
  newdoc.appendChild(newdoc.importNode(xml, true));
} catch (Exception e) {
...     
}

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to