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=26994>. 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=26994 Document.replaceChild doesn't throw exception if adding 2nd element or doctype [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From [EMAIL PROTECTED] 2004-03-03 19:34 ------- Curt, thanks for providing a patch. We've modified it and committed it to CVS. Instead of making the instanceof checks getNodeType is called instead. There's no requirement in DOM that an instance of one node type will not be an implementor of other node types. Xalan's DOM implementation appearently has a Node proxy which implements the interface of every node type. Although Xerces DOM implmentation doesn't have such classes, it's better to be safe (especially if that changes in the future). --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]