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/14 23:40:30 UTC

cvs commit: xml-xalan/test/tests/conf/embed/err embederr01.xsl embederr02.xsl

curcuru     01/02/14 14:40:30

  Modified:    test/tests/conf/attribset/err attribseterr01.xsl
                        attribseterr02.xsl attribseterr03.xsl
                        attribseterr04.xsl attribseterr05.xsl
                        attribseterr06.xsl
               test/tests/conf/boolean/err booleanerr01.xsl
                        booleanerr02.xsl booleanerr03.xsl booleanerr04.xsl
                        booleanerr05.xsl booleanerr06.xsl booleanerr07.xsl
                        booleanerr08.xsl booleanerr09.xsl booleanerr10.xsl
                        booleanerr11.xsl booleanerr12.xsl booleanerr13.xsl
                        booleanerr14.xsl
               test/tests/conf/conditional/err conditionalerr03.xsl
                        conditionalerr06.xsl conditionalerr07.xsl
                        conditionalerr08.xsl conditionalerr09.xsl
                        conditionalerr11.xsl conditionalerr12.xsl
                        conditionalerr13.xsl conditionalerr17.xsl
                        conditionalerr18.xsl conditionalerr19.xsl
               test/tests/conf/copy/err copyerr01.xsl
               test/tests/conf/embed/err embederr01.xsl embederr02.xsl
  Log:
  Update various ExpectedException strings for Xalan-J 2.x (ongoing)
  
  Revision  Changes    Path
  1.2       +1 -0      xml-xalan/test/tests/conf/attribset/err/attribseterr01.xsl
  
  Index: attribseterr01.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr01.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr01.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr01.xsl	2001/02/14 22:40:25	1.2
  @@ -10,6 +10,7 @@
          can be ignored. -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: ElemTemplateElement error: Can not add foo to xsl:attribute -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add foo to xsl:attribute -->
  +  <!-- ExpectedException: foo is not allowed in this position in the stylesheet! -->
   
   <xsl:template match="/">
      <Out>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/attribset/err/attribseterr02.xsl
  
  Index: attribseterr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr02.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr02.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr02.xsl	2001/02/14 22:40:25	1.2
  @@ -8,7 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Set up circular references of attribute-sets using each other -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: xsl:attribute-set 'set1' used itself, which will cause an infinite loop. -->
  -  <!-- ExpectedException: xsl:attribute-set 'set1' used itself, which will cause an infinite loop. -->
  +  <!-- ExpectedException: xsl:attribute-set set1 used itself, which will cause an infinite loop. -->
   
   <xsl:template match="/">
       <out>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/attribset/err/attribseterr03.xsl
  
  Index: attribseterr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr03.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr03.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr03.xsl	2001/02/14 22:40:25	1.2
  @@ -9,7 +9,7 @@
     	   is an error.  The attributes can be ignored.-->
     <!-- ExpectedException: Can not add xsl:attribute to xsl:attribute -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add xsl:attribute to xsl:attribute -->
  -
  +  <!-- ExpectedException: xsl:attribute is not allowed in this position in the stylesheet! -->
   <xsl:template match="/">
     <out>
       <xsl:element name="Element1">
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/attribset/err/attribseterr04.xsl
  
  Index: attribseterr04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr04.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr04.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr04.xsl	2001/02/14 22:40:25	1.2
  @@ -8,7 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Omit name attribute in xsl:attribute-set. -->
     <!-- ExpectedException: xsl:attribute-set must have a name attribute. -->
  -
  +  <!-- ExpectedException: xsl:attribute-set requires attribute: name -->
   <xsl:template match="/">
     <out>
       <xsl:element name="test" use-attribute-sets="set1"/>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/attribset/err/attribseterr05.xsl
  
  Index: attribseterr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr05.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr05.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr05.xsl	2001/02/14 22:40:25	1.2
  @@ -8,7 +8,7 @@
     <!-- Purpose: Put illegal instructions in xsl:attribute-set. -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add xsl:apply-templates to xsl:attribute-set -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: ElemTemplateElement error: Can not add xsl:apply-templates to xsl:attribute-set -->
  -
  +  <!-- ExpectedException: xsl:apply-templates is not allowed in this position in the stylesheet! -->
   <xsl:template match="/">
     <out>
       <xsl:element name="test" use-attribute-sets="set1"/>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/attribset/err/attribseterr06.xsl
  
  Index: attribseterr06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/attribset/err/attribseterr06.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- attribseterr06.xsl	2000/12/17 21:22:12	1.1
  +++ attribseterr06.xsl	2001/02/14 22:40:26	1.2
  @@ -9,7 +9,7 @@
     <!-- Purpose: Test placement of attribute-set inside a template, which is illegal. -->
     <!-- ExpectedException: xsl:attribute-set is not allowed inside a template! -->
     <!-- ExpectedException: XSLT: (StylesheetHandler) xsl:attribute-set is not allowed inside a template! -->
  -
  +  <!-- ExpectedException: xsl:attribute-set is not allowed in this position in the stylesheet! -->
   <xsl:template match="/">
     <out>
       <xsl:attribute-set name="set2">
  
  
  
  1.3       +1 -1      xml-xalan/test/tests/conf/boolean/err/booleanerr01.xsl
  
  Index: booleanerr01.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr01.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr01.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr01.xsl	2001/02/14 22:40:26	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.4 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "not". -->
  -  <!-- ExpectedException: XSL Warning: Could not find function: nt -->
  +  <!-- ExpectedException: Could not find function: nt -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -1      xml-xalan/test/tests/conf/boolean/err/booleanerr02.xsl
  
  Index: booleanerr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr02.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr02.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr02.xsl	2001/02/14 22:40:26	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.4 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" in not. -->
  -  <!-- 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/boolean/err/booleanerr03.xsl
  
  Index: booleanerr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr03.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr03.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr03.xsl	2001/02/14 22:40:26	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" in and. -->
     <!-- 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/boolean/err/booleanerr04.xsl
  
  Index: booleanerr04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr04.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr04.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr04.xsl	2001/02/14 22:40:26	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.4 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" in or. -->
  -  <!-- 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/boolean/err/booleanerr05.xsl
  
  Index: booleanerr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr05.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr05.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr05.xsl	2001/02/14 22:40:26	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.4 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" in = relation. -->
  -  <!-- 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/boolean/err/booleanerr06.xsl
  
  Index: booleanerr06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr06.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr06.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr06.xsl	2001/02/14 22:40:26	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.4 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" in boolean(). -->
  -  <!-- 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/boolean/err/booleanerr07.xsl
  
  Index: booleanerr07.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr07.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr07.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr07.xsl	2001/02/14 22:40:26	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of true() with an argument. -->
     <!-- ExpectedException: expected zero arguments -->
  +  <!-- ExpectedException: FuncTrue only allows 0 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr08.xsl
  
  Index: booleanerr08.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr08.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr08.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr08.xsl	2001/02/14 22:40:26	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of false() with an argument. -->
     <!-- ExpectedException: expected zero arguments -->
  +  <!-- ExpectedException: FuncFalse only allows 0 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr09.xsl
  
  Index: booleanerr09.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr09.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr09.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr09.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of not() with no argument. -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncNot only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr10.xsl
  
  Index: booleanerr10.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr10.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr10.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr10.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of not() with too many arguments. -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncNot only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr11.xsl
  
  Index: booleanerr11.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr11.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr11.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr11.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of boolean() with no argument. -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncBoolean only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr12.xsl
  
  Index: booleanerr12.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr12.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr12.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr12.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of boolean() with too many arguments. -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncBoolean only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr13.xsl
  
  Index: booleanerr13.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr13.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr13.xsl	2000/12/29 19:42:01	1.2
  +++ booleanerr13.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Give lang() function too few arguments -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncLang only allows 1 arguments -->
   
   <xsl:template match="/">
     <out><xsl:apply-templates select="doc/p"/></out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/boolean/err/booleanerr14.xsl
  
  Index: booleanerr14.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/boolean/err/booleanerr14.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- booleanerr14.xsl	2000/12/29 19:42:00	1.2
  +++ booleanerr14.xsl	2001/02/14 22:40:27	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Give lang() function too many arguments -->
     <!-- ExpectedException: expected one argument -->
  +  <!-- ExpectedException: FuncLang only allows 1 arguments -->
   
   <xsl:template match="/">
     <out><xsl:apply-templates select="doc/p"/></out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr03.xsl
  
  Index: conditionalerr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr03.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr03.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr03.xsl	2001/02/14 22:40:28	1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Test of xsl:choose containing sub-element that is not a when or otherwise. -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add #text to xsl:choose -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: ElemTemplateElement error: Can not add #text to xsl:choose -->
  +  <!-- ExpectedException: xsl:text is not allowed in this position in the stylesheet! -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr06.xsl
  
  Index: conditionalerr06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr06.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr06.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr06.xsl	2001/02/14 22:40:28	1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test bad attribute on xsl:when (only "test" allowed). -->
     <!-- ExpectedException: xsl:when has an illegal attribute: name -->
  +  <!-- ExpectedException: "name" attribute is not allowed on the xsl:when element! -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr07.xsl
  
  Index: conditionalerr07.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr07.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr07.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr07.xsl	2001/02/14 22:40:28	1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test attempt to put attribute on xsl:otherwise. -->
     <!-- ExpectedException: xsl:otherwise has an illegal attribute: test -->
  +  <!-- ExpectedException: "test" attribute is not allowed on the xsl:otherwise element! -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr08.xsl
  
  Index: conditionalerr08.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr08.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr08.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr08.xsl	2001/02/14 22:40:28	1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test attempt to put attribute on xsl:choose. -->
     <!-- ExpectedException: xsl:choose has an illegal attribute: name -->
  +  <!-- ExpectedException: "name" attribute is not allowed on the xsl:choose element! -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/conditional/err/conditionalerr09.xsl
  
  Index: conditionalerr09.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr09.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr09.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr09.xsl	2001/02/14 22:40:28	1.2
  @@ -8,7 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test xsl:if that lacks the required "test" attribute. -->
     <!-- ExpectedException: xsl:if must have a test attribute -->
  -
  +  <!-- ExpectedException: xsl:if requires attribute: test -->
   <xsl:template match="/">
     <out>
       <xsl:if>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr11.xsl
  
  Index: conditionalerr11.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr11.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr11.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr11.xsl	2001/02/14 22:40:28	1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Try to use when outside of choose. -->
     <!-- ExpectedException: (StylesheetHandler) xsl:when not parented by xsl:choose! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:when not parented by xsl:choose! -->
  +  <!-- ExpectedException: xsl:when is not allowed in this position in the stylesheet! -->
   
   <xsl:template match="/doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr12.xsl
  
  Index: conditionalerr12.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr12.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr12.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr12.xsl	2001/02/14 22:40:28	1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Try to use otherwise outside of choose. -->
     <!-- ExpectedException: (StylesheetHandler) xsl:otherwise not parented by xsl:choose! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:otherwise not parented by xsl:choose! -->
  +  <!-- ExpectedException: xsl:otherwise is not allowed in this position in the stylesheet! -->
   
   <xsl:template match="/doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr13.xsl
  
  Index: conditionalerr13.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr13.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr13.xsl	2000/12/15 20:01:53	1.1
  +++ conditionalerr13.xsl	2001/02/14 22:40:28	1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test xsl:when lacking the "test" attribute. -->
     <!-- ExpectedException: xsl:when must have a 'test' attribute -->
  +  <!-- ExpectedException: xsl:when requires attribute: test -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.3       +4 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr17.xsl
  
  Index: conditionalerr17.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr17.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- conditionalerr17.xsl	2001/01/26 15:44:32	1.2
  +++ conditionalerr17.xsl	2001/02/14 22:40:28	1.3
  @@ -8,6 +8,10 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test xsl:if that has bad content in "test" attribute. -->
     <!-- ExpectedException: Invalid token -->
  +  <!-- Note the below line may not work, as it's been escaped. This 
  +       test also causes problems with ConsoleLogger, so we may 
  +       want to change the test somewhat -->
  +  <!-- ExpectedException: Could not find function: &#58490;&#57332; -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr18.xsl
  
  Index: conditionalerr18.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr18.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- conditionalerr18.xsl	2001/01/26 15:44:32	1.2
  +++ conditionalerr18.xsl	2001/02/14 22:40:28	1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test xsl:when that has bad content in "test" attribute. -->
     <!-- ExpectedException: Invalid token -->
  +  <!-- ExpectedException: Could not find function: &#58490;&#57332; -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/conditional/err/conditionalerr19.xsl
  
  Index: conditionalerr19.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/conditional/err/conditionalerr19.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- conditionalerr19.xsl	2000/12/15 20:01:55	1.1
  +++ conditionalerr19.xsl	2001/02/14 22:40:29	1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Put xsl:choose at top level, which is illegal. -->
     <!-- ExpectedException: (StylesheetHandler) xsl:choose not allowed inside a stylesheet! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:choose not allowed inside a stylesheet! -->
  +  <!-- ExpectedException: xsl:when is not allowed in this position in the stylesheet! -->
   
   <xsl:choose>
     <xsl:when test="doc">Found a doc</xsl:when>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/copy/err/copyerr01.xsl
  
  Index: copyerr01.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/copy/err/copyerr01.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- copyerr01.xsl	2000/12/15 19:51:54	1.1
  +++ copyerr01.xsl	2001/02/14 22:40:29	1.2
  @@ -10,6 +10,7 @@
     <!-- Purpose: Test for xsl:copy-of without select. -->                
     <!-- Creator: David Marston -->
     <!-- ExpectedException: xsl:copy-of requires a select attribute -->
  +  <!-- ExpectedException: xsl:copy-of requires attribute: select -->
   
   <xsl:template match="/">
     <root>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/embed/err/embederr01.xsl
  
  Index: embederr01.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/err/embederr01.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embederr01.xsl	2000/12/16 01:08:53	1.1
  +++ embederr01.xsl	2001/02/14 22:40:30	1.2
  @@ -11,6 +11,7 @@
     	   containing xsl:key statement -->
     <!-- ExpectedException: (StylesheetHandler) xsl:key is not allowed inside a template! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:key is not allowed inside a template! -->
  +  <!-- ExpectedException: xsl:key is not allowed in this position in the stylesheet! -->
   
     <xsl:key name="test" match="para" use="@id"/>
   
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/embed/err/embederr02.xsl
  
  Index: embederr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/err/embederr02.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embederr02.xsl	2000/12/16 01:08:53	1.1
  +++ embederr02.xsl	2001/02/14 22:40:30	1.2
  @@ -7,6 +7,7 @@
     <!-- Section: 2.3 LRE as Stylesheet -->
     <!-- Purpose: See what happens when version number is missing from xsl namespace (above). -->
     <!-- ExpectedException: stylesheet must have a "version" attribute -->
  +  <!-- ExpectedException: xsl:stylesheet requires attribute: version -->
   
   <xsl:template match="/">
   <html>