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:18:09 UTC
cvs commit: xml-xalan/test/tests/conf/string/err stringerr19.xsl stringerr02.xsl stringerr03.xsl stringerr04.xsl stringerr05.xsl stringerr06.xsl stringerr07.xsl stringerr08.xsl stringerr09.xsl stringerr10.xsl stringerr11.xsl stringerr12.xsl stringerr13.xsl stringerr14.xsl stringerr15.xsl stringerr16.xsl stringerr17.xsl stringerr18.xsl stringerr01.xsl
dmarston 00/12/29 12:18:09
Modified: test/tests/conf/string/err stringerr19.xsl stringerr02.xsl
stringerr03.xsl stringerr04.xsl stringerr05.xsl
stringerr06.xsl stringerr07.xsl stringerr08.xsl
stringerr09.xsl stringerr10.xsl stringerr11.xsl
stringerr12.xsl stringerr13.xsl stringerr14.xsl
stringerr15.xsl stringerr16.xsl stringerr17.xsl
stringerr18.xsl stringerr01.xsl
Log:
Improve comments
Revision Changes Path
1.2 +2 -1 xml-xalan/test/tests/conf/string/err/stringerr19.xsl
Index: stringerr19.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr19.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr19.xsl 2000/12/15 21:54:45 1.1
+++ stringerr19.xsl 2000/12/29 20:18:00 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: STR105 -->
+ <!-- FileName: stringerr19 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: Paul Dick -->
<!-- Purpose: Special case of concat() with one argument.
Strictly speaking, this should fail just like STRerr14. -->
1.2 +4 -3 xml-xalan/test/tests/conf/string/err/stringerr02.xsl
Index: stringerr02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr02.xsl 2000/12/15 21:54:46 1.1
+++ stringerr02.xsl 2000/12/29 20:18:00 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: STRerr02 -->
+ <!-- FileName: stringerr02 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of invalid function that resembles "true" with string-length(). -->
<!-- ExpectedException: XSL Warning: Could not find function: troo -->
@@ -13,5 +14,5 @@
<xsl:value-of select="string-length(troo())"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/string/err/stringerr03.xsl
Index: stringerr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr03.xsl 2000/12/15 21:54:46 1.1
+++ stringerr03.xsl 2000/12/29 20:18:00 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: STRerr03 -->
+ <!-- FileName: stringerr03 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'normalize-space()' function with too many arguments -->
<!-- ExpectedException: normalize-space() has too many arguments -->
@@ -13,5 +14,5 @@
<xsl:value-of select="normalize-space(a,'	 ab cd ')"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/string/err/stringerr04.xsl
Index: stringerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr04.xsl 2000/12/15 21:54:46 1.1
+++ stringerr04.xsl 2000/12/29 20:18:00 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: STRerr04 -->
+ <!-- FileName: stringerr04 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'contains()' with one argument -->
<!-- ExpectedException: contains() requires two arguments -->
@@ -13,5 +14,5 @@
<xsl:value-of select="contains('ENCYCLOPEDIA')"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +4 -3 xml-xalan/test/tests/conf/string/err/stringerr05.xsl
Index: stringerr05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr05.xsl 2000/12/15 21:54:46 1.1
+++ stringerr05.xsl 2000/12/29 20:18:00 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: STRerr05 -->
+ <!-- FileName: stringerr05 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'contains()' with too many arguments -->
<!-- ExpectedException: contains() has too many arguments -->
@@ -13,5 +14,5 @@
<xsl:value-of select="contains('ENCYCLOPEDIA','LOPE',doc)"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr06.xsl
Index: stringerr06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr06.xsl 2000/12/15 21:54:46 1.1
+++ stringerr06.xsl 2000/12/29 20:18:00 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: STRerr06 -->
+ <!-- FileName: stringerr06 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'starts-with()' with one argument -->
<!-- ExpectedException: starts-with() requires two arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr07.xsl
Index: stringerr07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr07.xsl 2000/12/15 21:54:46 1.1
+++ stringerr07.xsl 2000/12/29 20:18:01 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: STRerr07 -->
+ <!-- FileName: stringerr07 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'starts-with()' with too many arguments -->
<!-- ExpectedException: starts-with() has too many arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr08.xsl
Index: stringerr08.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr08.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr08.xsl 2000/12/15 21:54:46 1.1
+++ stringerr08.xsl 2000/12/29 20:18:01 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: STRerr08 -->
+ <!-- FileName: stringerr08 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-before()' with one argument -->
<!-- ExpectedException: substring-before() requires two arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr09.xsl
Index: stringerr09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr09.xsl 2000/12/15 21:54:46 1.1
+++ stringerr09.xsl 2000/12/29 20:18:01 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: STRerr09 -->
+ <!-- FileName: stringerr09 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-before()' with too many arguments -->
<!-- ExpectedException: substring-before() has too many arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr10.xsl
Index: stringerr10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr10.xsl 2000/12/15 21:54:46 1.1
+++ stringerr10.xsl 2000/12/29 20:18:01 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: STRerr10 -->
+ <!-- FileName: stringerr10 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-after()' with one argument -->
<!-- ExpectedException: substring-after() requires two arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr11.xsl
Index: stringerr11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr11.xsl 2000/12/15 21:54:46 1.1
+++ stringerr11.xsl 2000/12/29 20:18:01 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: STRerr11 -->
+ <!-- FileName: stringerr11 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-after()' with too many arguments -->
<!-- ExpectedException: substring-after() has too many arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr12.xsl
Index: stringerr12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr12.xsl 2000/12/15 21:54:46 1.1
+++ stringerr12.xsl 2000/12/29 20:18:02 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: STRerr12 -->
+ <!-- FileName: stringerr12 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring()' with one argument -->
<!-- ExpectedException: substring() requires 2-3 arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr13.xsl
Index: stringerr13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr13.xsl 2000/12/15 21:54:46 1.1
+++ stringerr13.xsl 2000/12/29 20:18:02 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: STRerr13 -->
+ <!-- FileName: stringerr13 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring()' with too many arguments -->
<!-- ExpectedException: substring() has too many arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr14.xsl
Index: stringerr14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr14.xsl 2000/12/15 21:54:46 1.1
+++ stringerr14.xsl 2000/12/29 20:18:02 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: STRerr14 -->
+ <!-- FileName: stringerr14 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'concat()' with one argument -->
<!-- ExpectedException: concat() requires two or more arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr15.xsl
Index: stringerr15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr15.xsl 2000/12/15 21:54:46 1.1
+++ stringerr15.xsl 2000/12/29 20:18:02 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: STRerr15 -->
+ <!-- FileName: stringerr15 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'string-length()' with too many arguments -->
<!-- ExpectedException: string-length() has too many arguments. -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr16.xsl
Index: stringerr16.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr16.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr16.xsl 2000/12/15 21:54:46 1.1
+++ stringerr16.xsl 2000/12/29 20:18:02 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: STRerr16 -->
+ <!-- FileName: stringerr16 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'translate()' with 2 arguments -->
<!-- ExpectedException: The translate() function takes three arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr17.xsl
Index: stringerr17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr17.xsl 2000/12/15 21:54:46 1.1
+++ stringerr17.xsl 2000/12/29 20:18:03 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: STRerr17 -->
+ <!-- FileName: stringerr17 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'translate()' with too many arguments -->
<!-- ExpectedException: The translate() function takes three arguments -->
1.2 +3 -2 xml-xalan/test/tests/conf/string/err/stringerr18.xsl
Index: stringerr18.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr18.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr18.xsl 2000/12/15 21:54:46 1.1
+++ stringerr18.xsl 2000/12/29 20:18:03 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: STRerr18 -->
+ <!-- FileName: stringerr18 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 String Functions -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of 'string()' with too many arguments -->
<!-- ExpectedException: string() has too many arguments. -->
1.2 +4 -3 xml-xalan/test/tests/conf/string/err/stringerr01.xsl
Index: stringerr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/string/err/stringerr01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- stringerr01.xsl 2000/12/15 21:54:46 1.1
+++ stringerr01.xsl 2000/12/29 20:18:03 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: STRerr01 -->
+ <!-- FileName: stringerr01 -->
<!-- Document: http://www.w3.org/TR/xpath -->
<!-- DocVersion: 19991116 -->
<!-- Section: 4.2 -->
+ <!-- Creator: David Marston -->
<!-- Purpose: Test of invalid function that resembles "true" with string(). -->
<!-- ExpectedException: XSL Warning: Could not find function: troo -->
@@ -13,5 +14,5 @@
<xsl:value-of select="string(troo())"/>
</out>
</xsl:template>
-
+
</xsl:stylesheet>