You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@locus.apache.org on 2000/12/29 21:21:24 UTC
cvs commit: xml-xalan/test/tests/conf/whitespace whitespace22.xsl whitespace02.xsl whitespace03.xsl whitespace04.xsl whitespace05.xsl whitespace06.xsl whitespace07.xsl whitespace08.xsl whitespace09.xsl whitespace10.xsl whitespace11.xsl whitespace12.xsl whitespace13.xsl whitespace14.xsl whitespace15.xsl whitespace16.xsl whitespace17.xsl whitespace18.xsl whitespace19.xsl whitespace20.xsl whitespace21.xsl whitespace01.xsl
dmarston 00/12/29 12:21:23
Modified: test/tests/conf/whitespace whitespace22.xsl whitespace02.xsl
whitespace03.xsl whitespace04.xsl whitespace05.xsl
whitespace06.xsl whitespace07.xsl whitespace08.xsl
whitespace09.xsl whitespace10.xsl whitespace11.xsl
whitespace12.xsl whitespace13.xsl whitespace14.xsl
whitespace15.xsl whitespace16.xsl whitespace17.xsl
whitespace18.xsl whitespace19.xsl whitespace20.xsl
whitespace21.xsl whitespace01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +4 -3 xml-xalan/test/tests/conf/whitespace/whitespace22.xsl
Index: whitespace22.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace22.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace22.xsl 2000/12/15 21:43:09 1.1
+++ whitespace22.xsl 2000/12/29 20:21:09 1.2
@@ -1,4 +1,4 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:ns1="www.ns1.com" xmlns:ns2="www.ns2.com"
exclude-result-prefixes="ns1 ns2">
@@ -7,6 +7,7 @@
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Testing the applicable match for a particular element, also
verifying that preserve-space works with namespace-prefixed element.
This generate an error, recovering with the match that occurs last in
@@ -14,11 +15,11 @@
<xsl:strip-space elements="ns1:test ns2:test"/>
<xsl:preserve-space elements="ns1:test"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/whitespace/whitespace02.xsl
Index: whitespace02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace02.xsl 2000/12/15 21:43:09 1.1
+++ whitespace02.xsl 2000/12/29 20:21:09 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE02 -->
+ <!-- FileName: whitespace02 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test strip-space on list of specified elements. -->
<xsl:strip-space elements="test1 test2"/>
@@ -14,5 +15,5 @@
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/whitespace/whitespace03.xsl
Index: whitespace03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace03.xsl 2000/12/15 21:43:09 1.1
+++ whitespace03.xsl 2000/12/29 20:21:09 1.2
@@ -1,18 +1,19 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE03 -->
+ <!-- FileName: whitespace03 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test strip-space with wildcard element selector. -->
<xsl:strip-space elements="*"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/whitespace/whitespace04.xsl
Index: whitespace04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace04.xsl 2000/12/15 21:43:09 1.1
+++ whitespace04.xsl 2000/12/29 20:21:09 1.2
@@ -1,19 +1,20 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: whte04 -->
+ <!-- FileName: whitespace04 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test wildcard on strip-space overridden by preserve-space for one element. -->
<xsl:strip-space elements="*"/>
<xsl:preserve-space elements="test2"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/whitespace/whitespace05.xsl
Index: whitespace05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace05.xsl 2000/12/15 21:43:09 1.1
+++ whitespace05.xsl 2000/12/29 20:21:10 1.2
@@ -1,18 +1,19 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE05 -->
+ <!-- FileName: whitespace05 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test stripping an element that has whitespace plus a comment containing whitespace. -->
<xsl:strip-space elements="b"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/whitespace/whitespace06.xsl
Index: whitespace06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace06.xsl 2000/12/15 21:43:09 1.1
+++ whitespace06.xsl 2000/12/29 20:21:10 1.2
@@ -1,19 +1,20 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:ns1="ns1">
- <!-- FileName: WHTE06 -->
+ <!-- FileName: whitespace06 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test element specifier that has a namespace qualifier. -->
<xsl:strip-space elements="ns1:test"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/whitespace/whitespace07.xsl
Index: whitespace07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace07.xsl 2000/12/15 21:43:09 1.1
+++ whitespace07.xsl 2000/12/29 20:21:10 1.2
@@ -1,19 +1,20 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:ns1="ns1">
- <!-- FileName: WHTE07 -->
+ <!-- FileName: whitespace07 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test for element specifier that is a wildcard but qualified by a namespace. -->
<xsl:strip-space elements="ns1:*"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -4 xml-xalan/test/tests/conf/whitespace/whitespace08.xsl
Index: whitespace08.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace08.xsl 2000/12/15 21:43:09 1.1
+++ whitespace08.xsl 2000/12/29 20:21:11 1.2
@@ -1,9 +1,9 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE08 -->
+ <!-- FileName: whitespace08 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
<!-- Purpose: Test default whitespace handling. -->
@@ -12,5 +12,5 @@
<xsl:text> </xsl:text>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/whitespace/whitespace09.xsl
Index: whitespace09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace09.xsl 2000/12/15 21:43:09 1.1
+++ whitespace09.xsl 2000/12/29 20:21:11 1.2
@@ -1,15 +1,16 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE09 -->
+ <!-- FileName: whitespace09 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test output of newline via CDATA section in template. -->
<xsl:template match="/"><out>
<![CDATA[
]]>
</out></xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/whitespace/whitespace10.xsl
Index: whitespace10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace10.xsl 2000/12/15 21:43:09 1.1
+++ whitespace10.xsl 2000/12/29 20:21:11 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE10 -->
+ <!-- FileName: whitespace10 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test whitespace as LRE in template. -->
<xsl:template match="/"><out>
x
</out></xsl:template>
-
+
</xsl:stylesheet>
1.2 +5 -4 xml-xalan/test/tests/conf/whitespace/whitespace11.xsl
Index: whitespace11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace11.xsl 2000/12/15 21:43:09 1.1
+++ whitespace11.xsl 2000/12/29 20:21:11 1.2
@@ -1,14 +1,15 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE11 -->
+ <!-- FileName: whitespace11 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test whitespace in template matched on root. -->
<xsl:template match="/">
x
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/whitespace/whitespace12.xsl
Index: whitespace12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace12.xsl 2000/12/15 21:43:09 1.1
+++ whitespace12.xsl 2000/12/29 20:21:12 1.2
@@ -1,13 +1,14 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE12 -->
+ <!-- FileName: whitespace12 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 16 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test xsl:output with indent. -->
<xsl:output indent="yes"/>
-
+
<xsl:strip-space elements="document"/>
<xsl:template match="document">
1.2 +4 -3 xml-xalan/test/tests/conf/whitespace/whitespace13.xsl
Index: whitespace13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace13.xsl 2000/12/15 21:43:09 1.1
+++ whitespace13.xsl 2000/12/29 20:21:12 1.2
@@ -1,10 +1,11 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE13 -->
+ <!-- FileName: whitespace13 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test default whitespace handling where both source and template have space. -->
<xsl:template match="/">
1.2 +4 -3 xml-xalan/test/tests/conf/whitespace/whitespace14.xsl
Index: whitespace14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace14.xsl 2000/12/15 21:43:09 1.1
+++ whitespace14.xsl 2000/12/29 20:21:12 1.2
@@ -1,16 +1,17 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE14 -->
+ <!-- FileName: whitespace14 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
- <!-- Purpose: Test use of whitespace character entity's. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test use of whitespace character entities. -->
<xsl:template match="/">
<out>,
<a> a</a><b>	b</b><c> c</c><d> d</d>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -2 xml-xalan/test/tests/conf/whitespace/whitespace15.xsl
Index: whitespace15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace15.xsl 2000/12/15 21:43:09 1.1
+++ whitespace15.xsl 2000/12/29 20:21:13 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE15 -->
+ <!-- FileName: whitespace15 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test default whitespace handling. -->
<xsl:template match="/">
1.2 +7 -6 xml-xalan/test/tests/conf/whitespace/whitespace16.xsl
Index: whitespace16.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace16.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace16.xsl 2000/12/15 21:43:09 1.1
+++ whitespace16.xsl 2000/12/29 20:21:13 1.2
@@ -1,15 +1,16 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: whte16 -->
+ <!-- FileName: whitespace16 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: This is a general test of whitespace handling.
- It verifies the handling of the special whitespace
- characters; space, tab, CR, LF. In different situations.
- 1. within xsl:text where they should not be stripped,
- 2. within LRE's <end2> where they may be stripped. -->
+ It verifies the handling of the special whitespace
+ characters (space, tab, CR, LF) In different situations.
+ 1. within xsl:text where they should not be stripped,
+ 2. within LREs <end2> where they may be stripped. -->
<xsl:template match="/">
<out>
@@ -30,5 +31,5 @@
<end2>  	 </end2>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +2 -1 xml-xalan/test/tests/conf/whitespace/whitespace17.xsl
Index: whitespace17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace17.xsl 2000/12/15 21:43:09 1.1
+++ whitespace17.xsl 2000/12/29 20:21:13 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE17 -->
+ <!-- FileName: whitespace17 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 16 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test indent on xsl:output with copy-of. -->
<xsl:output indent="yes"/>
1.2 +2 -1 xml-xalan/test/tests/conf/whitespace/whitespace18.xsl
Index: whitespace18.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace18.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace18.xsl 2000/12/15 21:43:09 1.1
+++ whitespace18.xsl 2000/12/29 20:21:14 1.2
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: whte18 -->
+ <!-- FileName: whitespace18 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
@@ -16,4 +16,5 @@
</out>
</xsl:template>
+
</xsl:stylesheet>
1.2 +3 -1 xml-xalan/test/tests/conf/whitespace/whitespace19.xsl
Index: whitespace19.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace19.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace19.xsl 2000/12/15 21:43:09 1.1
+++ whitespace19.xsl 2000/12/29 20:21:14 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="iso-8859-1" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: whte19 -->
+ <!-- FileName: whitespace19 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Stylesheet is whitespace stripped before processing. -->
<xsl:template match="/">
@@ -16,4 +17,5 @@
</out>
</xsl:template>
+
</xsl:stylesheet>
1.2 +5 -2 xml-xalan/test/tests/conf/whitespace/whitespace20.xsl
Index: whitespace20.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace20.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace20.xsl 2000/12/15 21:43:09 1.1
+++ whitespace20.xsl 2000/12/29 20:21:14 1.2
@@ -1,17 +1,20 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
-<xsl:output indent="yes"/>
- <!-- FileName: whte20 -->
+ <!-- FileName: whitespace20 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: xml:space attributes need to be perserved. -->
+<xsl:output indent="yes"/>
+
<xsl:template match="/">
<root>
<out xml:space="default"> Test of xml:space w/default </out>
<out xml:space="preserve"> Test of xml:space w/perserve </out>
</root>
</xsl:template>
+
</xsl:stylesheet>
1.2 +2 -1 xml-xalan/test/tests/conf/whitespace/whitespace21.xsl
Index: whitespace21.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace21.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace21.xsl 2000/12/15 21:43:09 1.1
+++ whitespace21.xsl 2000/12/29 20:21:14 1.2
@@ -1,10 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE21 -->
+ <!-- FileName: whitespace21 -->
<!-- Document: http://www.w3.org/TR/xslt -->
<!-- DocVersion: 19991116 -->
<!-- Section: 3.4 Whitespace Stripping -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test for whitespace handling with comments in literal sections -->
<xsl:template match="/">
1.2 +6 -5 xml-xalan/test/tests/conf/whitespace/whitespace01.xsl
Index: whitespace01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/whitespace01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- whitespace01.xsl 2000/12/15 21:43:09 1.1
+++ whitespace01.xsl 2000/12/29 20:21:15 1.2
@@ -1,18 +1,19 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: WHTE01 -->
+ <!-- FileName: whitespace01 -->
<!-- Document: http://www.w3.org/TR/xslt -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 3.4 -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Test strip-space directive. -->
<xsl:strip-space elements="test1"/>
-
+
<xsl:template match="doc">
<out>
<xsl:apply-templates select="*"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>