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:16:57 UTC
cvs commit: xml-xalan/test/tests/conf/string string135.xsl string02.xsl string04.xsl string107.xsl string122.xsl string123.xsl string124.xsl string125.xsl string126.xsl string127.xsl string128.xsl string129.xsl string130.xsl string131.xsl string132.xsl string133.xsl string134.xsl string01.xsl string14.xsl
dmarston 00/12/29 12:16:56
Modified: test/tests/conf/string string135.xsl string02.xsl
string04.xsl string107.xsl string122.xsl
string123.xsl string124.xsl string125.xsl
string126.xsl string127.xsl string128.xsl
string129.xsl string130.xsl string131.xsl
string132.xsl string133.xsl string134.xsl
string01.xsl string14.xsl
Log:
Improve comments
Revision Changes Path
1.2 +3 -2 xml-xalan/test/tests/conf/string/string135.xsl
Index: string135.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string135.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string135.xsl 2000/12/15 21:52:08 1.1
+++ string135.xsl 2000/12/29 20:16:48 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: STR135 -->
+ <!-- FileName: string135 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of default (no functions) conversion of small decimal numbers. -->
<xsl:template match="/">
1.2 +5 -4 xml-xalan/test/tests/conf/string/string02.xsl
Index: string02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string02.xsl 2000/12/15 21:52:07 1.1
+++ string02.xsl 2000/12/29 20:16:48 1.2
@@ -1,16 +1,17 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str02 -->
+ <!-- FileName: string02 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string-length()' of element node -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of string-length() of element node -->
<xsl:template match="/">
<out>
<xsl:value-of select="string-length(doc)"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +6 -5 xml-xalan/test/tests/conf/string/string04.xsl
Index: string04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string04.xsl 2000/12/15 21:52:07 1.1
+++ string04.xsl 2000/12/29 20:16:48 1.2
@@ -1,12 +1,13 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str04 -->
+ <!-- FileName: string04 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string-length()' w/no arguments, and w/
- specific context node. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of string-length() without arguments, and
+ with node path. -->
<xsl:template match="/">
<out>
@@ -14,5 +15,5 @@
<xsl:value-of select="string-length(doc/a)"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string107.xsl
Index: string107.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string107.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string107.xsl 2000/12/15 21:52:07 1.1
+++ string107.xsl 2000/12/29 20:16:48 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: STR107 -->
+ <!-- FileName: string107 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string()' function on an RTF with sub-nodes. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of string() function on an RTF with sub-nodes. -->
<xsl:variable name="ResultTreeFragTest">
<xsl:value-of select="doc/av"/>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string122.xsl
Index: string122.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string122.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string122.xsl 2000/12/15 21:52:07 1.1
+++ string122.xsl 2000/12/29 20:16:49 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: str122 -->
+ <!-- FileName: string122 -->
<!-- Document: http://www.w3.org/TR/xpath -->
- <!-- DocVersion: 19990922 -->
+ <!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: string(nodeset) returns string value of the node in the
node-set that is first in document order.' -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/string123.xsl
Index: string123.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string123.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string123.xsl 2000/12/15 21:52:07 1.1
+++ string123.xsl 2000/12/29 20:16:49 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: STR123 -->
+ <!-- FileName: string123 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string()' function with no arguments. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of string() function with no arguments. -->
<!-- "If the argument is omitted, it defaults to a node-set
with the context node as its only member."
BUT this node has text and element children, all of which get concatenated. -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/string124.xsl
Index: string124.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string124.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string124.xsl 2000/12/15 21:52:07 1.1
+++ string124.xsl 2000/12/29 20:16:49 1.2
@@ -1,11 +1,12 @@
<?xml version = "1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
- <!-- FileName: STR124 -->
+ <!-- FileName: string124 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function searching for an entity. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of contains() function searching for an entity. -->
<xsl:strip-space elements = "*"/>
<xsl:output method = "xml"/>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string125.xsl
Index: string125.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string125.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string125.xsl 2000/12/15 21:52:07 1.1
+++ string125.xsl 2000/12/29 20:16:49 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str125 -->
+ <!-- FileName: string125 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function with nodes for both arguments, string is not in it. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function with nodes for both arguments, string is not in it. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string126.xsl
Index: string126.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string126.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string126.xsl 2000/12/15 21:52:07 1.1
+++ string126.xsl 2000/12/29 20:16:49 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str126 -->
+ <!-- FileName: string126 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function with nodes for both arguments, string is in it. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function with nodes for both arguments, string is in it. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string127.xsl
Index: string127.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string127.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string127.xsl 2000/12/15 21:52:08 1.1
+++ string127.xsl 2000/12/29 20:16:50 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str127 -->
+ <!-- FileName: string127 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function with two paths,
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function with two paths,
first argument is multiple nodes, first of those nodes does NOT contain the string. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/string/string128.xsl
Index: string128.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string128.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string128.xsl 2000/12/15 21:52:08 1.1
+++ string128.xsl 2000/12/29 20:16:50 1.2
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str128 -->
+ <!-- FileName: string128 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function with two paths,
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function with two paths,
second argument is multiple nodes, first of those nodes does NOT contain the string. -->
<xsl:template match="doc">
1.2 +3 -2 xml-xalan/test/tests/conf/string/string129.xsl
Index: string129.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string129.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string129.xsl 2000/12/15 21:52:08 1.1
+++ string129.xsl 2000/12/29 20:16:50 1.2
@@ -1,11 +1,12 @@
<?xml version = "1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
- <!-- FileName: str129 -->
+ <!-- FileName: string129 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function using a numbered entity. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function using a numbered entity. -->
<xsl:strip-space elements = "*"/>
<xsl:output method = "xml" indent = "yes"/>
1.2 +4 -3 xml-xalan/test/tests/conf/string/string130.xsl
Index: string130.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string130.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string130.xsl 2000/12/15 21:52:08 1.1
+++ string130.xsl 2000/12/29 20:16:50 1.2
@@ -1,12 +1,13 @@
-<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
+<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE HTMLlat1 SYSTEM "HTMLlat1.dtd">
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" >
- <!-- FileName: str130 -->
+ <!-- FileName: string130 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'contains()' function using a numbered entity. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of contains() function using a numbered entity. -->
<xsl:output method="html"/>
<xsl:strip-space elements = "*"/>
1.2 +4 -3 xml-xalan/test/tests/conf/string/string131.xsl
Index: string131.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string131.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string131.xsl 2000/12/15 21:52:08 1.1
+++ string131.xsl 2000/12/29 20:16:50 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: STR131 -->
+ <!-- FileName: string131 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string()' with zero arguments. Context node just has one text child. -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of string() with zero arguments. Context node just has one text child. -->
<xsl:template match="doc">
<out>
1.2 +3 -2 xml-xalan/test/tests/conf/string/string132.xsl
Index: string132.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string132.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string132.xsl 2000/12/15 21:52:08 1.1
+++ string132.xsl 2000/12/29 20:16:51 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: STR132 -->
+ <!-- FileName: string132 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of default (no functions) conversion of integers. -->
<xsl:template match="/">
1.2 +3 -2 xml-xalan/test/tests/conf/string/string133.xsl
Index: string133.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string133.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string133.xsl 2000/12/15 21:52:08 1.1
+++ string133.xsl 2000/12/29 20:16:51 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: STR133 -->
+ <!-- FileName: string133 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of default (no functions) conversion of decimal numbers with fractions. -->
<xsl:template match="/">
1.2 +3 -2 xml-xalan/test/tests/conf/string/string134.xsl
Index: string134.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string134.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string134.xsl 2000/12/15 21:52:08 1.1
+++ string134.xsl 2000/12/29 20:16:51 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: STR134 -->
+ <!-- FileName: string134 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of default (no functions) conversion of decimal numbers with decimal point at all positions. -->
<xsl:template match="/">
1.2 +5 -4 xml-xalan/test/tests/conf/string/string01.xsl
Index: string01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string01.xsl 2000/12/15 21:52:07 1.1
+++ string01.xsl 2000/12/29 20:16:51 1.2
@@ -1,16 +1,17 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: str01 -->
+ <!-- FileName: string01 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string-length()' w/ string. -->
+ <!-- Creator: Paul Dick -->
+ <!-- Purpose: Test of string-length() on literal string. -->
<xsl:template match="/">
<out>
<xsl:value-of select="string-length('This is a test')"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/string/string14.xsl
Index: string14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/string14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- string14.xsl 2000/12/15 21:52:08 1.1
+++ string14.xsl 2000/12/29 20:16:51 1.2
@@ -1,11 +1,12 @@
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- <!-- FileName: STR14 -->
+ <!-- FileName: string14 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
- <!-- Purpose: Test of 'string()' conversion on a variable containing a node-set -->
+ <!-- Creator: David Marston -->
+ <!-- Purpose: Test of string() conversion on a variable containing a node-set -->
<xsl:template match="/">
<xsl:variable name="which" select="doc/av//*"/>