From 9a207d6d0944abb977564e7b5dafaab30ab7cd41 Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Mon, 28 May 2001 10:55:59 +0000 Subject: - libxslt/transform.c: William M. Brack found a small bug when call-template didn't find the template. Daniel --- ChangeLog | 5 +++++ libxslt/transform.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index b3911109..2da96c0b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon May 28 12:54:45 CEST 2001 Daniel Veillard + + * libxslt/transform.c: William M. Brack found a small bug + when call-template didn't find the template. + Sat May 26 17:08:19 CEST 2001 Daniel Veillard * libxslt/transform.c: fixed handling of PI and comments diff --git a/libxslt/transform.c b/libxslt/transform.c index 7cd51d5c..8ccf420e 100644 --- a/libxslt/transform.c +++ b/libxslt/transform.c @@ -1961,6 +1961,7 @@ xsltCallTemplate(xsltTransformContextPtr ctxt, xmlNodePtr node, if (comp->templ == NULL) { xsltGenericError(xsltGenericErrorContext, "xslt:call-template : template %s not found\n", comp->name); + return; } } -- cgit v1.2.3