Author: jajcus Date: Mon Feb 28 11:31:48 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- fix for the xmlReconciliateNs() to properly fix namespace declarations after
element namespace change.
---- Files affected:
SOURCES:
libxml2-xmlReconciliateNs.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libxml2-xmlReconciliateNs.patch
diff -u /dev/null SOURCES/libxml2-xmlReconciliateNs.patch:1.1
--- /dev/null Mon Feb 28 12:31:48 2005
+++ SOURCES/libxml2-xmlReconciliateNs.patch Mon Feb 28 12:31:43 2005
@@ -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);
+ }
+ }
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit