You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by mu...@apache.org on 2025/04/01 15:49:16 UTC

(xalan-java) branch xalan-j_xslt3.0_mvn updated: making few minor modifications to comments, within few stylesheet test case files

This is an automated email from the ASF dual-hosted git repository.

mukulg pushed a commit to branch xalan-j_xslt3.0_mvn
in repository https://gitbox.apache.org/repos/asf/xalan-java.git


The following commit(s) were added to refs/heads/xalan-j_xslt3.0_mvn by this push:
     new 5c94c237f making few minor modifications to comments, within few stylesheet test case files
5c94c237f is described below

commit 5c94c237fe0a28d4dc27d6e9bb69cf48d737674b
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Tue Apr 1 21:19:06 2025 +0530

    making few minor modifications to comments, within few stylesheet test case files
---
 src/test/resources/fn_transform/test1.xsl | 10 +++++++++-
 src/test/resources/fn_transform/test2.xsl | 10 +++++++++-
 src/test/resources/fn_transform/test3.xsl | 10 +++++++++-
 3 files changed, 27 insertions(+), 3 deletions(-)

diff --git a/src/test/resources/fn_transform/test1.xsl b/src/test/resources/fn_transform/test1.xsl
index e10a2d1c8..7a2a64552 100644
--- a/src/test/resources/fn_transform/test1.xsl
+++ b/src/test/resources/fn_transform/test1.xsl
@@ -22,7 +22,15 @@
   
   <!-- An XSL function definition, to get function fn:transform's 
        argument as an XDM map. This XSL function definition uses 
-       stylesheet-location option while using function fn:transform. -->
+       stylesheet-location option while using function fn:transform. 
+       
+       This stylesheet function returns an XDM map, as if it was constructed from
+       the following lexical XPath map syntax :
+       map {
+          "stylesheet-location" : "render.xsl",
+          "source-node"         : doc('test.xml')
+       }
+  -->
   <xsl:function name="fn0:getFnTransformArg" as="map(*)">
      <xsl:param name="stylesheetUrl" as="xs:string"/>
 	 <xsl:param name="xmlInpNode" as="node()"/>
diff --git a/src/test/resources/fn_transform/test2.xsl b/src/test/resources/fn_transform/test2.xsl
index e7f62c8d0..014de7732 100644
--- a/src/test/resources/fn_transform/test2.xsl
+++ b/src/test/resources/fn_transform/test2.xsl
@@ -21,7 +21,15 @@
   
   <!-- An XSL function definition, to get function fn:transform's 
        argument as an XDM map. This XSL function definition uses 
-       stylesheet-node option while using function fn:transform. -->
+       stylesheet-node option while using function fn:transform. 
+  
+       This stylesheet function returns an XDM map, as if it was constructed from
+       the following lexical XPath map syntax :
+       map {
+          "stylesheet-node" : doc('render.xsl'),
+          "source-node"     : doc('test.xml')
+       }     
+  -->
   <xsl:function name="fn0:getFnTransformArg" as="map(*)">
      <xsl:param name="stylesheetNode" as="node()"/>
 	 <xsl:param name="xmlInpNode" as="node()"/>
diff --git a/src/test/resources/fn_transform/test3.xsl b/src/test/resources/fn_transform/test3.xsl
index 4cc2c8dca..e37a6c354 100644
--- a/src/test/resources/fn_transform/test3.xsl
+++ b/src/test/resources/fn_transform/test3.xsl
@@ -41,7 +41,15 @@
   
   <!-- An XSL function definition, to get function fn:transform's 
        argument as an XDM map. This XSL function definition uses 
-       stylesheet-text option while using function fn:transform. -->
+       stylesheet-text option while using function fn:transform. 
+       
+       This stylesheet function returns an XDM map, as if it was constructed from
+       the following lexical XPath map syntax :
+       map {
+          "stylesheet-text" : '<xsl:stylesheet> ......... </xsl:stylesheet>',
+          "source-node"     : doc('test.xml')
+       }     
+  -->
   <xsl:function name="fn0:getFnTransformArg" as="map(*)">
      <xsl:param name="xslStylesheetTxt" as="xs:string"/>
 	 <xsl:param name="xmlInpNode" as="node()"/>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org