Fix conv_xslt() error-reporting when stylesheet is not found.
authorMike Taylor <mike@indexdata.com>
Wed, 7 Sep 2011 16:46:01 +0000 (17:46 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 7 Sep 2011 16:46:01 +0000 (17:46 +0100)
(The value of fullpath is meaningless in this situation.)

src/record_conv.c

index c644c7d..0ec4f13 100644 (file)
@@ -177,7 +177,7 @@ static int conv_xslt(yaz_record_conv_t p, const xmlNode *ptr)
         {
             wrbuf_printf(p->wr_error, "Element <xslt stylesheet=\"%s\"/>:"
                          " could not locate stylesheet '%s'",
-                         stylesheet, fullpath);
+                         stylesheet, stylesheet);
             if (p->path)
                 wrbuf_printf(p->wr_error, " with path '%s'", p->path);