summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2004-01-31 10:43:33 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2004-01-31 10:43:33 +0000
commit9abfdc9582638980095bd5ba924529a01413e860 (patch)
tree31441eafc7960bf3525549b944a88853d685d848
parent4c14100de908754fe0c5b0bc9b7eec435c0f8c4d (diff)
downloadlibxslt-9abfdc9582638980095bd5ba924529a01413e860.tar.gz
libxslt-9abfdc9582638980095bd5ba924529a01413e860.tar.bz2
libxslt-9abfdc9582638980095bd5ba924529a01413e860.zip
fixed problem with attribute namespace (Bug 132953)
* libxslt/namespaces.c: fixed problem with attribute namespace (Bug 132953)
-rw-r--r--ChangeLog5
-rw-r--r--libxslt/namespaces.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f089a91c..b4cc8c2a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jan 31 02:43:45 PST 2004 William Brack <wbrack@mmm.com.hk>
+
+ * libxslt/namespaces.c: fixed problem with attribute
+ namespace (Bug 132953)
+
Thu Jan 29 14:47:22 PST 2004 William Brack <wbrack@mmm.com.hk>
* libxslt/transform.c: added check for "--" or ending '-'
diff --git a/libxslt/namespaces.c b/libxslt/namespaces.c
index f26ed422..8b459929 100644
--- a/libxslt/namespaces.c
+++ b/libxslt/namespaces.c
@@ -219,7 +219,7 @@ xsltGetNamespace(xsltTransformContextPtr ctxt, xmlNodePtr cur, xmlNsPtr ns,
else {
if (ns->prefix != NULL) {
ret = xmlSearchNs(out->doc, out, ns->prefix);
- if ((ret == NULL) || (!xmlStrEqual(ns->href, URI))) {
+ if ((ret == NULL) || (!xmlStrEqual(ret->href, URI))) {
ret = xmlSearchNsByHref(out->doc, out, URI);
}
} else {