Apologies for forgetting to mention this: Xerces 2.5 running on Win XP
Pro.

> -----Original Message-----
> From: Marc Seldin [mailto:[EMAIL PROTECTED]
> Sent: Monday, August 02, 2004 3:53 PM
> To: [EMAIL PROTECTED]
> Subject: DOMNode appendChild method hangs in some circumstances
> 
> I'm encountering a weird problem (bug?) wherein I try to append a node
> and the program hangs. I've tried it in two ways below and encounter
the
> same problem at the same point in my code, though I haven't detected
> anything unusual about the nodes. Stepping into assembly shows me that
> it's stuck in some kind of loop in the xerces dll.
> 
>       parent->removeChild(tempnode);
>       newnode->appendNode(tempnode);
> 
> I tried it this way also:
> 
>       tempnode->getParentNode()->removeChild(tempnode);
>       DOMNode * clone_node=tempnode->cloneNode(true);
>       newnode->insertBefore(clone_node,NULL); //same as append
> 
> 
> Anyone have any ideas? I'd rather not muck around in the xerces
source,
> but that's my next step if no one has any ideas.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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