Re: [xml] Fwd: Patch: Null prefix namespaces not cloned
- From: Daniel Veillard <veillard redhat com>
- To: Andrew Miller <ak miller auckland ac nz>
- Cc: xml gnome org
- Subject: Re: [xml] Fwd: Patch: Null prefix namespaces not cloned
- Date: Mon, 20 Feb 2006 18:18:45 -0500
On Tue, Feb 21, 2006 at 11:24:58AM +1300, Andrew Miller wrote:
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
I don't understand the GDOME test, could you explain ? I don't understand
the patch especially the node->doc != doc test, please elaborate, thanks !
Daniel
--
Daniel Veillard | Red Hat http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]