Hi,
you can take by our lack of response that we have not seen this. This is a very common operation and it is unlikely that it is a bug in xerces-c. Your code runs fine under XP for me. The next step would be to write a very basic piece of code. If that exhibits the problem post it and we can then run it and see what is wrong.


Gareth

On 2 Aug 2004, at 21:53, Marc Seldin wrote:

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]



--
Gareth Reakes, Managing Director      Parthenon Computing
+44-1865-811184                  http://www.parthcomp.com


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



Reply via email to