On 21 juil, 20:28, mihai007 <[email protected]> wrote:
> The following code works as expected in IE7/8, Firefox, Opera, but
> fails on chrome:
>
> Node root = XMLParser.parse("<?xml version='1.0' ?><root />").getLastChild();
>
> Node node = XMLParser.parse("<?xml version='1.0' ?><node />").getLastChild();
>
> root.appendChild(node);
>
> Does anyone have a clue why is it happening and any workarounds? thank
> you.

Any error showing in the JS console?

Shouldn't you first adoptNode (root.getOwnerDocument().adoptNode
(node)) before appending it into another document?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to