[libxslt] Add comment regarding built-in templates and params



commit 5070aac969c3bf6c21f3c56d3bdc176a8efdbf67
Author: Nick Wellnhofer <wellnhofer aevum de>
Date:   Thu May 26 11:54:21 2016 +0200

    Add comment regarding built-in templates and params

 libxslt/transform.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libxslt/transform.c b/libxslt/transform.c
index d5aaf74..245b3d5 100644
--- a/libxslt/transform.c
+++ b/libxslt/transform.c
@@ -2021,6 +2021,9 @@ xsltDefaultProcessOneNode(xsltTransformContextPtr ctxt, xmlNodePtr node,
 
     /*
      * Handling of Elements: second pass, actual processing
+     *
+     * Note that params are passed to the next template. This matches
+     * XSLT 2.0 behavior but doesn't conform to XSLT 1.0.
      */
     oldSize = ctxt->xpathCtxt->contextSize;
     oldPos = ctxt->xpathCtxt->proximityPosition;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]