fixed a problem reported by Mark Vakoc Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Fri, 20 Sep 2002 08:56:01 +0000 (08:56 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Fri, 20 Sep 2002 08:56:01 +0000 (08:56 +0000)
* libxslt/templates.c: fixed a problem reported by Mark Vakoc
Daniel

ChangeLog
libxslt/templates.c

index c85a4d5..0a467e5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Fri Sep 20 10:55:03 CEST 2002 Daniel Veillard <daniel@veillard.com>
+
+       * libxslt/templates.c: fixed a problem reported by Mark Vakoc
+
 Wed Sep 18 15:46:50 CEST 2002 Igor Zlatkovic <igor@stud.fh-frankfurt.de>
 
        * libexslt/date.c: fixed the embedded '-' in the duration format 
@@ -13,7 +17,7 @@ Tue Sep 17 18:01:22 CEST 2002 Igor Zlatkovic <igor@stud.fh-frankfurt.de>
 
 Sat Sep 14 16:17:51 MDT 2002 John Fleck <jfleck@inkstain.net>
 
-       * doc/xsltproc.html
+       * doc/xsltproc.html:
        oops, forgot to update the html version of the man page
 
 Sat Sep 14 16:10:21 MDT 2002 John Fleck <jfleck@inkstain.net>
index 85aefd9..d4a65e3 100644 (file)
@@ -269,7 +269,7 @@ xsltAttrTemplateValueProcessNode(xsltTransformContextPtr ctxt,
                /*
                 * TODO: keep precompiled form around
                 */
-               if (nsList == NULL) {
+               if ((nsList == NULL) && (node != NULL)) {
                    int i = 0;
 
                    nsList = xmlGetNsList(node->doc, node);