You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2004/02/17 05:26:07 UTC

DO NOT REPLY [Bug 26994] New: - Document.replaceChild doesn't throw exception if adding 2nd element or doctype

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

           Summary: Document.replaceChild doesn't throw exception if adding
                    2nd element or doctype
           Product: Xerces2-J
           Version: 2.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: xerces-j-dev@xml.apache.org
        ReportedBy: carnold@houston.rr.com


L3 Core (http://www.w3.org/TR/2004/PR-DOM-Level-3-Core-20040205/core.html#ID-
785887307) added HIERARCHY_REQUEST_ERR exceptions if the operation would 
result in multiple doctype or element elements.  Xerces-J does not currently 
throw exceptions in those cases which result in failing DOM L3 Core tests 
nodereplacechild39 and nodereplacechild40.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org