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

DOMParentNode::insertBefore uses null pointer

           Summary: DOMParentNode::insertBefore uses null pointer
           Product: Xerces-C++
           Version: 2.3.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: DOM
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I am rearranging the existing child nodes of a parent node.  Assume I have 
nodes A and B as children, with A being the first child.  I then do "parent-
>insertBefore( A, B ).  This should be a no-op because A is already before B.

What happens is that since A is already a child, it is removed.  Then we end up 
in the "// this is an insert" section of the code.  The check:
if (refChild == fFirstChild)"

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

Reply via email to