diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-01-31 10:43:33 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-01-31 10:43:33 +0000 |
commit | 9abfdc9582638980095bd5ba924529a01413e860 (patch) | |
tree | 31441eafc7960bf3525549b944a88853d685d848 | |
parent | 4c14100de908754fe0c5b0bc9b7eec435c0f8c4d (diff) | |
download | libxslt-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-- | ChangeLog | 5 | ||||
-rw-r--r-- | libxslt/namespaces.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 { |