diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | configure.in | 4 | ||||
-rw-r--r-- | libxslt.spec.in | 3 | ||||
-rw-r--r-- | libxslt/namespaces.c | 2 |
4 files changed, 12 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Mon Nov 25 17:30:02 CET 2002 Daniel Veillard <daniel@veillard.com> + + * libxslt.spec.in configure.in: add a line in %changelog for releases + Mon Nov 25 14:57:53 CET 2002 Daniel Veillard <daniel@veillard.com> * libxslt/transform.h: Kir Kolyshkin pointed out it lacked diff --git a/configure.in b/configure.in index 3cc8d73b..5643926c 100644 --- a/configure.in +++ b/configure.in @@ -422,6 +422,10 @@ AC_SUBST(EXTRA_LIBS) AC_SUBST(M_LIBS) AC_SUBST(XSLT_LIBS) +dnl for the spec file +RELDATE=`date +'%a %b %e %Y'` +AC_SUBST(RELDATE) + rm -f rm COPYING.LIB COPYING ln -s Copyright COPYING diff --git a/libxslt.spec.in b/libxslt.spec.in index fdb9ea57..068754ef 100644 --- a/libxslt.spec.in +++ b/libxslt.spec.in @@ -125,6 +125,9 @@ rm -fr %{buildroot} %doc python/tests/*.xsl %changelog +* @RELDATE@ Daniel Veillard <veillard@redhat.com> +- upstream release @VERSION@ see http://xmlsoft.org/XSLT/news.html + * Wed Oct 23 2002 Daniel Veillard <veillard@redhat.com> - revamped the spec file, cleaned up some rpm building problems diff --git a/libxslt/namespaces.c b/libxslt/namespaces.c index ba991188..b2f4919b 100644 --- a/libxslt/namespaces.c +++ b/libxslt/namespaces.c @@ -151,7 +151,7 @@ xsltGetSpecialNamespace(xsltTransformContextPtr ctxt, xmlNodePtr cur, else ret = xmlSearchNsByHref(out->doc, out, URI); - if (ret == NULL) { + if ((ret == NULL) || (ret->prefix == NULL)) { if (prefix == NULL) { do { sprintf(nprefix, "ns%d", prefixno++); |