You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by cu...@apache.org on 2001/02/16 20:29:56 UTC
cvs commit: xml-xalan/test/tests/conf/whitespace/err whitespaceerr01.xsl whitespaceerr02.xsl whitespaceerr03.xsl whitespaceerr04.xsl
curcuru 01/02/16 11:29:55
Modified: test/tests/conf/output/err outputerr01.xsl outputerr02.xsl
outputerr04.xsl outputerr06.xsl outputerr12.xsl
outputerr13.xsl
test/tests/conf/position/err positionerr01.xsl
positionerr02.xsl positionerr03.xsl
positionerr04.xsl positionerr05.xsl
test/tests/conf/processorinfo/err processorinfoerr04.xsl
processorinfoerr05.xsl
test/tests/conf/select/err selecterr01.xsl selecterr03.xsl
selecterr04.xsl selecterr10.xsl selecterr11.xsl
selecterr12.xsl selecterr13.xsl selecterr14.xsl
selecterr15.xsl selecterr16.xsl
test/tests/conf/sort/err sorterr01.xsl sorterr02.xsl
sorterr03.xsl sorterr04.xsl sorterr06.xsl
sorterr09.xsl
test/tests/conf/string/err stringerr01.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 stringerr19.xsl
test/tests/conf/variable/err variableerr03.xsl
variableerr04.xsl variableerr07.xsl
variableerr17.xsl
test/tests/conf/ver/err vererr03.xsl vererr05.xsl
vererr09.xsl
test/tests/conf/whitespace/err whitespaceerr01.xsl
whitespaceerr02.xsl whitespaceerr03.xsl
whitespaceerr04.xsl
Log:
More: Update various ExpectedException strings for Xalan-J 2.x (ongoing)
Revision Changes Path
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr01.xsl
Index: outputerr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr01.xsl 2000/12/15 22:56:05 1.1
+++ outputerr01.xsl 2001/02/16 19:27:31 1.2
@@ -8,6 +8,7 @@
<!-- Section: 7.6.1 Generating Text with xsl:value -->
<!-- Purpose: Test error reporting for missing required select attribute. -->
<!-- ExpectedException: xsl:value-of requires a select attribute. -->
+ <!-- ExpectedException: xsl:value-of requires attribute: select -->
<xsl:template match="/">
<xsl:value-of/>
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr02.xsl
Index: outputerr02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr02.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr02.xsl 2000/12/15 22:56:05 1.1
+++ outputerr02.xsl 2001/02/16 19:27:32 1.2
@@ -9,6 +9,7 @@
<!-- Section: 7.3 Creating Processing Instructions -->
<!-- Purpose: Try to create processing instruction without a name. -->
<!-- ExpectedException: xsl:processing-instruction must have a name attribute. -->
+ <!-- ExpectedException: xsl:processing-instruction requires attribute: name -->
<xsl:template match="/">
<HTML>
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr04.xsl
Index: outputerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr04.xsl 2000/12/15 22:56:05 1.1
+++ outputerr04.xsl 2001/02/16 19:27:33 1.2
@@ -9,6 +9,7 @@
<!-- Section: 7.3 Creating Processing Instructions -->
<!-- Purpose: Try to create processing instruction with an improper name. -->
<!-- ExpectedException: java.lang.RuntimeException: processing-instruction name must be a valid NCName -->
+ <!-- ExpectedException: processing-instruction name must be a valid NCName: + -->
<xsl:template match="/">
<HTML>
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr06.xsl
Index: outputerr06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr06.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr06.xsl 2000/12/15 22:56:05 1.1
+++ outputerr06.xsl 2001/02/16 19:27:34 1.2
@@ -10,6 +10,7 @@
<!-- ExpectedException: Can not add xsl:value-of to xsl:text -->
<!-- ExpectedException: ElemTemplateElement error: Can not add xsl:value-of to xsl:text -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: ElemTemplateElement error: Can not add xsl:value-of to xsl:text -->
+ <!-- ExpectedException: xsl:value-of is not allowed in this position in the stylesheet! -->
<xsl:template match="/">
<HTML>
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr12.xsl
Index: outputerr12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr12.xsl 2000/12/15 22:56:05 1.1
+++ outputerr12.xsl 2001/02/16 19:27:35 1.2
@@ -7,6 +7,7 @@
<!-- Section: 16 -->
<!-- Purpose: Test placement of xsl:output inside atemplate, which is illegal. -->
<!-- ExpectedException: Must put xsl:output outside any template. -->
+ <!-- ExpectedException: xsl:output is not allowed in this position in the stylesheet! -->
<xsl:template match="/">
<xsl:output method="html"/>
1.2 +1 -0 xml-xalan/test/tests/conf/output/err/outputerr13.xsl
Index: outputerr13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/output/err/outputerr13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- outputerr13.xsl 2000/12/15 22:56:05 1.1
+++ outputerr13.xsl 2001/02/16 19:27:36 1.2
@@ -8,6 +8,7 @@
<!-- Purpose: Processing instruction content can't create nodes other then
text nodes. -->
<!-- ExpectedException: Can not add xsl:element to xsl:processing-instruction -->
+ <!-- ExpectedException: xsl:element is not allowed in this position in the stylesheet! -->
<xsl:template match="doc/tag">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/position/err/positionerr01.xsl
Index: positionerr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/err/positionerr01.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- positionerr01.xsl 2000/12/29 20:03:30 1.2
+++ positionerr01.xsl 2001/02/16 19:27:46 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Last should not have any arguments. -->
<!-- ExpectedException: zero arguments expected -->
+ <!-- ExpectedException: FuncLast only allows 0 arguments -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/position/err/positionerr02.xsl
Index: positionerr02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/err/positionerr02.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- positionerr02.xsl 2000/12/29 20:03:30 1.2
+++ positionerr02.xsl 2001/02/16 19:27:48 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: position() should not have any arguments. -->
<!-- ExpectedException: zero arguments expected -->
+ <!-- ExpectedException: FuncPosition only allows 0 arguments -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/position/err/positionerr03.xsl
Index: positionerr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/err/positionerr03.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- positionerr03.xsl 2000/12/29 20:03:30 1.2
+++ positionerr03.xsl 2001/02/16 19:27:49 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test too few arguments to count(). -->
<!-- ExpectedException: The count function should take one argument -->
+ <!-- ExpectedException: FuncCount only allows 1 arguments -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/position/err/positionerr04.xsl
Index: positionerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/err/positionerr04.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- positionerr04.xsl 2000/12/29 20:03:30 1.2
+++ positionerr04.xsl 2001/02/16 19:27:49 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test too many arguments to count(). -->
<!-- ExpectedException: The count function should take one argument -->
+ <!-- ExpectedException: FuncCount only allows 1 arguments -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/position/err/positionerr05.xsl
Index: positionerr05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/position/err/positionerr05.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- positionerr05.xsl 2000/12/29 20:03:30 1.2
+++ positionerr05.xsl 2001/02/16 19:27:50 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: last() should not have any arguments. -->
<!-- ExpectedException: zero arguments expected -->
+ <!-- ExpectedException: FuncLast only allows 0 arguments -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr04.xsl
Index: processorinfoerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- processorinfoerr04.xsl 2000/12/15 22:29:52 1.1
+++ processorinfoerr04.xsl 2001/02/16 19:27:57 1.2
@@ -7,6 +7,7 @@
<!-- Section: 12.4 -->
<!-- Purpose: Test too few arguments to system-property -->
<!-- ExpectedException: system-property requires one argument -->
+ <!-- ExpectedException: FuncSystemProperty only allows 1 arguments -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr05.xsl
Index: processorinfoerr05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- processorinfoerr05.xsl 2000/12/15 22:29:51 1.1
+++ processorinfoerr05.xsl 2001/02/16 19:28:00 1.2
@@ -7,6 +7,7 @@
<!-- Section: 12.4 -->
<!-- Purpose: Test too many arguments to system-property -->
<!-- ExpectedException: system-property requires one argument -->
+ <!-- ExpectedException: FuncSystemProperty only allows 1 arguments -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr01.xsl
Index: selecterr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr01.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr01.xsl 2000/12/17 21:37:57 1.1
+++ selecterr01.xsl 2001/02/16 19:28:06 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test for select with empty value. -->
<!-- ExpectedException: null expression selected -->
+ <!-- ExpectedException: Empty expression! --><!-- Not a great error, but probably close enough -sc -->
<xsl:template match="/">
<xsl:apply-templates select=""/>
1.2 +1 -1 xml-xalan/test/tests/conf/select/err/selecterr03.xsl
Index: selecterr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr03.xsl 2000/12/17 21:37:57 1.1
+++ selecterr03.xsl 2001/02/16 19:28:08 1.2
@@ -7,7 +7,7 @@
<!-- Section: 4.1 -->
<!-- Creator: David Marston -->
<!-- Purpose: Test of invalid function that resembles "true" where a node-set is expected. -->
- <!-- ExpectedException: XSL Warning: Could not find function: troo -->
+ <!-- ExpectedException: Could not find function: troo -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr04.xsl
Index: selecterr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr04.xsl 2000/12/17 21:37:57 1.1
+++ selecterr04.xsl 2001/02/16 19:28:10 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to provide an argument to current(). -->
<!-- ExpectedException: current() must not have any arguments -->
+ <!-- ExpectedException: FuncCurrent only allows 0 arguments -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr10.xsl
Index: selecterr10.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr10.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr10.xsl 2000/12/17 21:37:57 1.1
+++ selecterr10.xsl 2001/02/16 19:28:11 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a number where a node-set is needed in for-each.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #NUMBER to a NodeList! -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr11.xsl
Index: selecterr11.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr11.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr11.xsl 2000/12/17 21:37:57 1.1
+++ selecterr11.xsl 2001/02/16 19:28:12 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a boolean where a node-set is needed in for-each.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #BOOLEAN to a NodeList! -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr12.xsl
Index: selecterr12.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr12.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr12.xsl 2000/12/17 21:37:57 1.1
+++ selecterr12.xsl 2001/02/16 19:28:14 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a string where a node-set is needed in for-each.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #STRING to a NodeList! -->
<xsl:variable name="which" select="'fish'"/>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr13.xsl
Index: selecterr13.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr13.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr13.xsl 2000/12/17 21:37:57 1.1
+++ selecterr13.xsl 2001/02/16 19:28:16 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use an RTF where a node-set is needed in for-each.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #RTREEFRAG to a NodeList! -->
<xsl:variable name="ResultTreeFragTest">
<xsl:value-of select="doc"/>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr14.xsl
Index: selecterr14.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr14.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr14.xsl 2000/12/17 21:37:57 1.1
+++ selecterr14.xsl 2001/02/16 19:28:17 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a number where a node-set is needed in apply-templates.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #NUMBER to a NodeList! -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr15.xsl
Index: selecterr15.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr15.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr15.xsl 2000/12/17 21:37:57 1.1
+++ selecterr15.xsl 2001/02/16 19:28:18 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a boolean where a node-set is needed in apply-templates.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #BOOLEAN to a NodeList! -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/select/err/selecterr16.xsl
Index: selecterr16.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/select/err/selecterr16.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- selecterr16.xsl 2000/12/17 21:37:57 1.1
+++ selecterr16.xsl 2001/02/16 19:28:21 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use a string where a node-set is needed in apply-templates.-->
<!-- ExpectedException: XPATH: Can not convert #UNKNOWN to a NodeList -->
+ <!-- ExpectedException: Can not convert #STRING to a NodeList! -->
<xsl:variable name="which" select="'fish'"/>
1.4 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr01.xsl
Index: sorterr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr01.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sorterr01.xsl 2001/01/26 15:52:35 1.3
+++ sorterr01.xsl 2001/02/16 19:28:41 1.4
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Undefined value for data-type attribute on sort. -->
<!-- ExpectedException: Sorting data-type must be "text" or "number" -->
+ <!-- ExpectedException: Attribute: data-type has an illegal value: badtype -->
<xsl:template match="doc">
<out>
1.4 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr02.xsl
Index: sorterr02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr02.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sorterr02.xsl 2001/01/26 15:52:35 1.3
+++ sorterr02.xsl 2001/02/16 19:28:42 1.4
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Incorrect value for order attribute on sort. -->
<!-- ExpectedException: Sorting order must be "ascending" or "descending" -->
+ <!-- ExpectedException: Attribute: order has an illegal value: sideways -->
<xsl:template match="doc">
<out>
1.4 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr03.xsl
Index: sorterr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr03.xsl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sorterr03.xsl 2001/01/26 15:52:35 1.3
+++ sorterr03.xsl 2001/02/16 19:28:43 1.4
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Incorrect value for case-order attribute on sort. -->
<!-- ExpectedException: Sorting case-order must be "upper-first" or "lower-first" -->
+ <!-- ExpectedException: Attribute: case-order has an illegal value: bad-order -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr04.xsl
Index: sorterr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr04.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sorterr04.xsl 2000/12/29 20:10:42 1.2
+++ sorterr04.xsl 2001/02/16 19:28:44 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Undefined attribute on sort. -->
<!-- ExpectedException: xsl:sort has an illegal attribute: invalidattr -->
+ <!-- ExpectedException: "invalidattr" attribute is not allowed on the xsl:sort element! -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr06.xsl
Index: sorterr06.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr06.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sorterr06.xsl 2000/12/29 20:10:43 1.2
+++ sorterr06.xsl 2001/02/16 19:28:45 1.3
@@ -10,6 +10,7 @@
<!-- ExpectedException: xsl:sort can only be used with xsl:apply-templates or xsl:for-each. -->
<!-- ExpectedException: (StylesheetHandler) xsl:sort can only be used with xsl:apply-templates or xsl:for-each. -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:sort can only be used with xsl:apply-templates or xsl:for-each. -->
+ <!-- ExpectedException: xsl:sort is not allowed in this position in the stylesheet! -->
<xsl:template match="/">
<Out>
1.3 +1 -0 xml-xalan/test/tests/conf/sort/err/sorterr09.xsl
Index: sorterr09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr09.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sorterr09.xsl 2000/12/29 20:10:44 1.2
+++ sorterr09.xsl 2001/02/16 19:28:46 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Try to use an AVT for the select value. -->
<!-- ExpectedException: select value for xsl:sort cannot contain {} -->
+ <!-- ExpectedException: Extra illegal tokens: '{.}' --><!-- Could use improvements for usability -sc -->
<xsl:template match="doc">
<out>
1.3 +1 -1 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr01.xsl 2000/12/29 20:18:03 1.2
+++ stringerr01.xsl 2001/02/16 19:28:53 1.3
@@ -7,7 +7,7 @@
<!-- Section: 4.2 -->
<!-- Creator: David Marston -->
<!-- Purpose: Test of invalid function that resembles "true" with string(). -->
- <!-- ExpectedException: XSL Warning: Could not find function: troo -->
+ <!-- ExpectedException: Could not find function: troo -->
<xsl:template match="/">
<out>
1.3 +1 -1 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr02.xsl 2000/12/29 20:18:00 1.2
+++ stringerr02.xsl 2001/02/16 19:28:54 1.3
@@ -7,7 +7,7 @@
<!-- 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 -->
+ <!-- ExpectedException: Could not find function: troo -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr03.xsl 2000/12/29 20:18:00 1.2
+++ stringerr03.xsl 2001/02/16 19:28:55 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'normalize-space()' function with too many arguments -->
<!-- ExpectedException: normalize-space() has too many arguments -->
+ <!-- ExpectedException: FuncNormalizeSpace only allows 1 arguments -->
<xsl:template match="/doc">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr04.xsl 2000/12/29 20:18:00 1.2
+++ stringerr04.xsl 2001/02/16 19:28:56 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'contains()' with one argument -->
<!-- ExpectedException: contains() requires two arguments -->
+ <!-- ExpectedException: FuncContains only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr05.xsl 2000/12/29 20:18:00 1.2
+++ stringerr05.xsl 2001/02/16 19:28:56 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'contains()' with too many arguments -->
<!-- ExpectedException: contains() has too many arguments -->
+ <!-- ExpectedException: FuncContains only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr06.xsl 2000/12/29 20:18:00 1.2
+++ stringerr06.xsl 2001/02/16 19:28:57 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'starts-with()' with one argument -->
<!-- ExpectedException: starts-with() requires two arguments -->
+ <!-- ExpectedException: FuncStartsWith only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr07.xsl 2000/12/29 20:18:01 1.2
+++ stringerr07.xsl 2001/02/16 19:28:58 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'starts-with()' with too many arguments -->
<!-- ExpectedException: starts-with() has too many arguments -->
+ <!-- ExpectedException: FuncStartsWith only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr08.xsl 2000/12/29 20:18:01 1.2
+++ stringerr08.xsl 2001/02/16 19:28:58 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-before()' with one argument -->
<!-- ExpectedException: substring-before() requires two arguments -->
+ <!-- ExpectedException: FuncSubstringBefore only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr09.xsl 2000/12/29 20:18:01 1.2
+++ stringerr09.xsl 2001/02/16 19:28:59 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-before()' with too many arguments -->
<!-- ExpectedException: substring-before() has too many arguments -->
+ <!-- ExpectedException: FuncSubstringBefore only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr10.xsl 2000/12/29 20:18:01 1.2
+++ stringerr10.xsl 2001/02/16 19:29:00 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-after()' with one argument -->
<!-- ExpectedException: substring-after() requires two arguments -->
+ <!-- ExpectedException: FuncSubstringAfter only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr11.xsl 2000/12/29 20:18:01 1.2
+++ stringerr11.xsl 2001/02/16 19:29:01 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring-after()' with too many arguments -->
<!-- ExpectedException: substring-after() has too many arguments -->
+ <!-- ExpectedException: FuncSubstringAfter only allows 2 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr12.xsl 2000/12/29 20:18:02 1.2
+++ stringerr12.xsl 2001/02/16 19:29:02 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring()' with one argument -->
<!-- ExpectedException: substring() requires 2-3 arguments -->
+ <!-- ExpectedException: FuncSubstring only allows 2 or 3 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr13.xsl 2000/12/29 20:18:02 1.2
+++ stringerr13.xsl 2001/02/16 19:29:02 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'substring()' with too many arguments -->
<!-- ExpectedException: substring() has too many arguments -->
+ <!-- ExpectedException: FuncSubstring only allows 3 arguments --><!-- Note different msg than with stringerr12.xsl -sc -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr14.xsl 2000/12/29 20:18:02 1.2
+++ stringerr14.xsl 2001/02/16 19:29:03 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'concat()' with one argument -->
<!-- ExpectedException: concat() requires two or more arguments -->
+ <!-- ExpectedException: FuncConcat only allows >1 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr15.xsl 2000/12/29 20:18:02 1.2
+++ stringerr15.xsl 2001/02/16 19:29:04 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'string-length()' with too many arguments -->
<!-- ExpectedException: string-length() has too many arguments. -->
+ <!-- ExpectedException: FuncStringLength only allows 1 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr16.xsl 2000/12/29 20:18:02 1.2
+++ stringerr16.xsl 2001/02/16 19:29:05 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'translate()' with 2 arguments -->
<!-- ExpectedException: The translate() function takes three arguments -->
+ <!-- ExpectedException: FuncTranslate only allows 3 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr17.xsl 2000/12/29 20:18:03 1.2
+++ stringerr17.xsl 2001/02/16 19:29:06 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'translate()' with too many arguments -->
<!-- ExpectedException: The translate() function takes three arguments -->
+ <!-- ExpectedException: FuncTranslate only allows 3 arguments -->
<xsl:template match="/">
<out>
1.3 +1 -0 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- stringerr18.xsl 2000/12/29 20:18:03 1.2
+++ stringerr18.xsl 2001/02/16 19:29:07 1.3
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test of 'string()' with too many arguments -->
<!-- ExpectedException: string() has too many arguments. -->
+ <!-- ExpectedException: FuncString only allows 1 arguments -->
<xsl:template match="/">
<out>
1.4 +1 -0 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- stringerr19.xsl 2001/01/26 15:53:00 1.3
+++ stringerr19.xsl 2001/02/16 19:29:08 1.4
@@ -9,6 +9,7 @@
<!-- Purpose: Special case of concat() with one argument.
Strictly speaking, this should fail just like STRerr14. -->
<!-- ExpectedException: concat() requires two or more arguments -->
+ <!-- ExpectedException: FuncConcat only allows >1 arguments -->
<xsl:template match="doc">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/variable/err/variableerr03.xsl
Index: variableerr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/variable/err/variableerr03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- variableerr03.xsl 2000/12/15 21:30:53 1.1
+++ variableerr03.xsl 2001/02/16 19:29:29 1.2
@@ -7,6 +7,7 @@
<!-- Section: 11.2 Values of Variables and Parameters -->
<!-- Purpose: Test for missing name attribute in xsl:variable -->
<!-- ExpectedException: xsl:variable must have a name attribute. -->
+ <!-- ExpectedException: xsl:variable requires attribute: name -->
<xsl:variable select="'ABC'"/>
1.2 +1 -1 xml-xalan/test/tests/conf/variable/err/variableerr04.xsl
Index: variableerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/variable/err/variableerr04.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- variableerr04.xsl 2000/12/15 21:30:53 1.1
+++ variableerr04.xsl 2001/02/16 19:29:31 1.2
@@ -6,7 +6,7 @@
<!-- DocVersion: 19991116 -->
<!-- Section: 11.2 Values of Variables and Parameters -->
<!-- Purpose: Negative test, attempt to use variable RTF as a nodeset. -->
- <!-- ExpectedException: XPATH: Can not convert #RTREEFRAG to a NodeList! -->
+ <!-- ExpectedException: Can not convert #RTREEFRAG to a NodeList! -->
<!-- Author: Paul Dick -->
<xsl:template match="doc">
1.2 +1 -1 xml-xalan/test/tests/conf/variable/err/variableerr07.xsl
Index: variableerr07.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/variable/err/variableerr07.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- variableerr07.xsl 2000/12/15 21:30:53 1.1
+++ variableerr07.xsl 2001/02/16 19:29:32 1.2
@@ -6,7 +6,7 @@
<!-- DocVersion: 19991116 -->
<!-- Section: 11.2 Values of Variables and Parameters -->
<!-- Purpose: Test for xsl:variable with more than one select. -->
- <!-- ExpectedException: XSLT: Attribute "select" was already specified for element "xsl:variable". -->
+ <!-- ExpectedException: Attribute "select" was already specified for element "xsl:variable". -->
<!-- Author: David Marston -->
<xsl:template match="doc">
1.2 +1 -0 xml-xalan/test/tests/conf/variable/err/variableerr17.xsl
Index: variableerr17.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/variable/err/variableerr17.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- variableerr17.xsl 2000/12/15 21:30:53 1.1
+++ variableerr17.xsl 2001/02/16 19:29:33 1.2
@@ -8,6 +8,7 @@
<!-- Purpose: Try to set top-level params with circular references -->
<!-- ExpectedException: Variable defined using itself -->
<!-- Author: David Marston -->
+ <!-- ExpectedException: Variable circle0 is directly or indirectly referencing itself! -->
<xsl:variable name="circle0" select="concat('help',$circle1)"/>
<xsl:param name="circle1" select="concat('help',$circle0)"/>
1.2 +1 -0 xml-xalan/test/tests/conf/ver/err/vererr03.xsl
Index: vererr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/ver/err/vererr03.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vererr03.xsl 2000/12/16 02:14:53 1.1
+++ vererr03.xsl 2001/02/16 19:29:39 1.2
@@ -10,6 +10,7 @@
<!-- Purpose: Don't allow transform to be matched with stylesheet. -->
<!-- ExpectedException: The element type "xsl:transform" must be terminated by the matching end-tag "</xsl:transform>". -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: The element type "xsl:transform" must be terminated by the matching end-tag "</xsl:transform>". -->
+ <!-- ExpectedException: The element type "xsl:transform" must be terminated by the matching end-tag "</xsl:transform>". -->
<!-- Explicitly match text nodes so the output is just 39 -->
<xsl:template match="text()">
1.2 +1 -0 xml-xalan/test/tests/conf/ver/err/vererr05.xsl
Index: vererr05.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/ver/err/vererr05.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vererr05.xsl 2000/12/16 02:14:53 1.1
+++ vererr05.xsl 2001/02/16 19:29:41 1.2
@@ -9,6 +9,7 @@
<!-- Purpose: Test use of an undefined element (garbage) as if was part of XSLT. -->
<!-- ExpectedException: Unknown XSL element: garbage -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: Unknown XSL element: garbage -->
+ <!-- ExpectedException: xsl:garbage is not allowed in this position in the stylesheet! -->
<xsl:template match="/">
<out>
1.2 +1 -0 xml-xalan/test/tests/conf/ver/err/vererr09.xsl
Index: vererr09.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/ver/err/vererr09.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- vererr09.xsl 2000/12/16 02:14:53 1.1
+++ vererr09.xsl 2001/02/16 19:29:42 1.2
@@ -8,6 +8,7 @@
<!-- Creator: David Marston -->
<!-- Purpose: Test that version number is required. -->
<!-- ExpectedException: stylesheet must have version attribute -->
+ <!-- ExpectedException: xsl:stylesheet requires attribute: version -->
<xsl:template match="/">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/whitespace/err/whitespaceerr01.xsl
Index: whitespaceerr01.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/err/whitespaceerr01.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- whitespaceerr01.xsl 2001/01/04 15:36:14 1.2
+++ whitespaceerr01.xsl 2001/02/16 19:29:47 1.3
@@ -10,6 +10,7 @@
from xsl:strip-space. -->
<!-- ExpectedException: (StylesheetHandler) xsl:strip-space requires an elements attribute! -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:strip-space requires an elements attribute! -->
+ <!-- ExpectedException: xsl:strip-space requires attribute: elements -->
<xsl:strip-space/>
1.3 +1 -0 xml-xalan/test/tests/conf/whitespace/err/whitespaceerr02.xsl
Index: whitespaceerr02.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/err/whitespaceerr02.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- whitespaceerr02.xsl 2001/01/04 15:36:13 1.2
+++ whitespaceerr02.xsl 2001/02/16 19:29:49 1.3
@@ -10,6 +10,7 @@
from xsl:preserve-space. -->
<!-- ExpectedException: (StylesheetHandler) xsl:preserve-space requires an elements attribute! -->
<!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:preserve-space requires an elements attribute! -->
+ <!-- ExpectedException: xsl:preserve-space requires attribute: elements -->
<xsl:preserve-space/>
1.3 +1 -0 xml-xalan/test/tests/conf/whitespace/err/whitespaceerr03.xsl
Index: whitespaceerr03.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/err/whitespaceerr03.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- whitespaceerr03.xsl 2001/01/04 15:36:13 1.2
+++ whitespaceerr03.xsl 2001/02/16 19:29:50 1.3
@@ -9,6 +9,7 @@
<!-- Purpose: Test placement of preserve-space inside a template, which is illegal. -->
<!-- ExpectedException: xsl:preserve-space is not allowed inside a template! -->
<!-- ExpectedException: XSLT: (StylesheetHandler) xsl:preserve-space is not allowed inside a template! -->
+ <!-- ExpectedException: xsl:preserve-space is not allowed in this position in the stylesheet! -->
<xsl:template match="doc">
<out>
1.3 +1 -0 xml-xalan/test/tests/conf/whitespace/err/whitespaceerr04.xsl
Index: whitespaceerr04.xsl
===================================================================
RCS file: /home/cvs/xml-xalan/test/tests/conf/whitespace/err/whitespaceerr04.xsl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- whitespaceerr04.xsl 2001/01/04 15:36:12 1.2
+++ whitespaceerr04.xsl 2001/02/16 19:29:51 1.3
@@ -8,6 +8,7 @@
<!-- Purpose: Test placement of strip-space inside atemplate, which is illegal. -->
<!-- ExpectedException: xsl:strip-space is not allowed inside a template! -->
<!-- ExpectedException: XSLT: (StylesheetHandler) xsl:strip-space is not allowed inside a template! -->
+ <!-- ExpectedException: xsl:strip-space is not allowed in this position in the stylesheet! -->
<xsl:template match="doc">
<out>