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=7098>. 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=7098 removeChild() doesn't remove child node Summary: removeChild() doesn't remove child node Product: Xerces2-J Version: 2.0.0 Platform: PC OS/Version: Other Status: NEW Severity: Blocker Priority: Other Component: DOM AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] See example below. 'doc' is reference of DocumentImpl object. Debugger shows that object 'node' found. It's possible to extract any information about Node, parent, siblings etc. But, attempt to execute removeChild() or replaceChild() always failed. try { Node node = doc.getElementsByTagName("ToBeRemoved").item(0); doc.removeChild(node); } catch(Exception e) { } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
