]> git.pld-linux.org Git - packages/libxml2.git/commitdiff
- fix for the xmlReconciliateNs() to properly fix namespace declarations after elemen...
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 28 Feb 2005 11:31:43 +0000 (11:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libxml2-xmlReconciliateNs.patch -> 1.1

libxml2-xmlReconciliateNs.patch [new file with mode: 0644]

diff --git a/libxml2-xmlReconciliateNs.patch b/libxml2-xmlReconciliateNs.patch
new file mode 100644 (file)
index 0000000..61ebc3c
--- /dev/null
@@ -0,0 +1,21 @@
+diff -dur libxml2-2.6.17.orig/tree.c libxml2-2.6.17/tree.c
+--- libxml2-2.6.17.orig/tree.c 2005-01-04 15:49:48.000000000 +0100
++++ libxml2-2.6.17/tree.c      2005-02-28 11:53:32.101621669 +0100
+@@ -5663,7 +5663,7 @@
+                 if ((cur->href != NULL) && (href != NULL) &&
+                     (xmlStrEqual(cur->href, href))) {
+                   if (((!is_attr) || (cur->prefix != NULL)) &&
+-                      (xmlNsInScope(doc, orig, node, cur->href) == 1))
++                      (xmlNsInScope(doc, orig, node, cur->prefix) == 1))
+                       return (cur);
+                 }
+                 cur = cur->next;
+@@ -5674,7 +5674,7 @@
+                     if ((cur->href != NULL) && (href != NULL) &&
+                         (xmlStrEqual(cur->href, href))) {
+                       if (((!is_attr) || (cur->prefix != NULL)) &&
+-                          (xmlNsInScope(doc, orig, node, cur->href) == 1))
++                          (xmlNsInScope(doc, orig, node, cur->prefix) == 1))
+                           return (cur);
+                     }
+                 }
This page took 0.233463 seconds and 4 git commands to generate.