Hi, libxml2 currently does not handle namespaces correctly in all cases when cloning nodes. I have attached a testcase(which demonstrates the bug using libgdome2.0.8.1 on top of libxml2.2.6.23), and a patch for the issue. The testcase tests 4 different cases, which you access by compiling with -DTESTNUMBER=0 through to -DTESTNUMBER=3 Best regards, Andrew Miller ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.
Attachment:
tree.c.patch
Description: Text Data
Attachment:
gdome_clone_bug.c
Description: Text Data