]> git.pld-linux.org Git - packages/libxml2.git/blame - libxml2-xmlReconciliateNs.patch
- updated to 2.6.18
[packages/libxml2.git] / libxml2-xmlReconciliateNs.patch
CommitLineData
2fa599aa
JK
1diff -dur libxml2-2.6.17.orig/tree.c libxml2-2.6.17/tree.c
2--- libxml2-2.6.17.orig/tree.c 2005-01-04 15:49:48.000000000 +0100
3+++ libxml2-2.6.17/tree.c 2005-02-28 11:53:32.101621669 +0100
4@@ -5663,7 +5663,7 @@
5 if ((cur->href != NULL) && (href != NULL) &&
6 (xmlStrEqual(cur->href, href))) {
7 if (((!is_attr) || (cur->prefix != NULL)) &&
8- (xmlNsInScope(doc, orig, node, cur->href) == 1))
9+ (xmlNsInScope(doc, orig, node, cur->prefix) == 1))
10 return (cur);
11 }
12 cur = cur->next;
13@@ -5674,7 +5674,7 @@
14 if ((cur->href != NULL) && (href != NULL) &&
15 (xmlStrEqual(cur->href, href))) {
16 if (((!is_attr) || (cur->prefix != NULL)) &&
17- (xmlNsInScope(doc, orig, node, cur->href) == 1))
18+ (xmlNsInScope(doc, orig, node, cur->prefix) == 1))
19 return (cur);
20 }
21 }
This page took 0.027943 seconds and 4 git commands to generate.