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 2023/03/20 08:06:17 UTC
[xalan-test] branch master updated: clarifying the comment, within one of XalanJ test with inputs from Joseph Kessselman
This is an automated email from the ASF dual-hosted git repository.
mukulg pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/xalan-test.git
The following commit(s) were added to refs/heads/master by this push:
new 88aba520 clarifying the comment, within one of XalanJ test with inputs from Joseph Kessselman
88aba520 is described below
commit 88aba5206501244ffb7a4792c3239277cc7a73cf
Author: Mukul Gandhi <ga...@gmail.com>
AuthorDate: Mon Mar 20 13:35:59 2023 +0530
clarifying the comment, within one of XalanJ test with inputs from Joseph Kessselman
---
tests/conf/whitespace/whitespace35.xsl | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/tests/conf/whitespace/whitespace35.xsl b/tests/conf/whitespace/whitespace35.xsl
index b939b01a..8cbeb98d 100644
--- a/tests/conf/whitespace/whitespace35.xsl
+++ b/tests/conf/whitespace/whitespace35.xsl
@@ -7,9 +7,16 @@
<!-- Section: 3.4 -->
<!-- Creator: Maynard Demmons (maynard@organic.com) -->
<!-- Purpose: Test for whitespace stripping from source documents retrieved
- with the document() function. The spec is a little vague on this. -->
- <!-- Elaboration: doc/* would contain several whitespace nodes if not stripped.
- The built-in template for text would cause them to be emitted. -->
+ with the document() function. -->
+ <!-- Elaboration: doc/node() [excluding "XPath data model" attribute nodes and the
+ root node] might contain several whitespace nodes if not stripped.
+ The built-in template for text would cause them to be emitted. But
+ the strip operation is defined as being applied to "XPath data model"
+ nodes originating from "XML source documents" and nodes returned by
+ the document() function, as described in XSLT 1.0 spec's section
+ "12.1 Multiple Source Documents", so they can be stripped (using XSLT 1.0
+ language instruction xsl:strip-space) out of the tree returned by
+ document() and not appear in the output. -->
<xsl:strip-space elements="*" />
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xalan.apache.org
For additional commands, e-mail: commits-help@xalan.apache.org