If you are not making a call to DOM_Document::importNode() before adding
adding a DOM_Node from another DOM_Document, then thats not correct. Using
importNode() should solve your problem... as far as I know, this is not a
bug. 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, April 20, 2001 3:05 PM
> To: [EMAIL PROTECTED]
> Subject: [Bug 1446] New - Problems with replaceChild & appendChild
> 
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1446
> 
> *** shadow/1446       Fri Apr 20 15:05:11 2001
> --- shadow/1446.tmp.11343     Fri Apr 20 15:05:11 2001
> ***************
> *** 0 ****
> --- 1,27 ----
> + 
> +=============================================================
> ===============+
> + | Problems with replaceChild & appendChild                  
>                  |
> + 
> +-------------------------------------------------------------
> ---------------+
> + |        Bug #: 1446                        Product: 
> Xerces-C                |
> + |       Status: NEW                         Version: 1.4    
>                  |
> + |   Resolution:                            Platform: Sun    
>                  |
> + |     Severity: Critical                 OS/Version: 
> Solaris                 |
> + |     Priority: High                      Component: DOM    
>                  |
> + 
> +-------------------------------------------------------------
> ---------------+
> + |  Assigned To: [EMAIL PROTECTED]                 
>                  |
> + |  Reported By: [EMAIL PROTECTED]                           
>                  |
> + |      CC list: Cc:                                         
>                  |
> + 
> +-------------------------------------------------------------
> ---------------+
> + |          URL:                                             
>                  |
> + 
> +=============================================================
> ===============+
> + |                              DESCRIPTION                  
>                  |
> + Hi,
> + 
> + I am trying to insert a node (after cloning it) from one 
> DOM document to 
> + another DOM document using replaceChild or appendChild. 
> everytime it fails
> + (my application got aborted). I have no trouble doing this 
> within the same
> + DOM document.
> + 
> + Is it doable? if not, is there any workaround?
> + 
> + your help is greatly appreciated.
> + Hui
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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

Reply via email to