curcuru     01/02/15 08:39:01

  Modified:    test/tests/conf/lre/err lreerr05.xsl lreerr06.xsl
               test/tests/conf/match/err matcherr02.xsl matcherr03.xsl
                        matcherr04.xsl matcherr05.xsl matcherr07.xsl
               test/tests/conf/math/err matherr02.xsl matherr03.xsl
                        matherr04.xsl matherr05.xsl matherr06.xsl
                        matherr07.xsl matherr08.xsl matherr09.xsl
                        matherr10.xsl matherr11.xsl matherr12.xsl
                        matherr13.xsl matherr14.xsl
               test/tests/conf/mdocs/err mdocserr02.xsl mdocserr03.xsl
                        mdocserr04.xsl
               test/tests/conf/message/err messageerr02.xsl
               test/tests/conf/namedtemplate/err namedtemplateerr04.xsl
                        namedtemplateerr05.xsl namedtemplateerr07.xsl
                        namedtemplateerr10.xsl namedtemplateerr12.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/lre/err/lreerr05.xsl
  
  Index: lreerr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/lre/err/lreerr05.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- lreerr05.xsl      2000/12/17 18:44:20     1.1
  +++ lreerr05.xsl      2001/02/15 16:38:38     1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Try to put out literal output without a template. -->
     <!-- ExpectedException: Illegal top-level element -->
  +  <!-- ExpectedException: out is not allowed in this position in the 
stylesheet! -->
   
   <out>Data</out>
   
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/lre/err/lreerr06.xsl
  
  Index: lreerr06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/lre/err/lreerr06.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- lreerr06.xsl      2000/12/17 18:44:20     1.1
  +++ lreerr06.xsl      2001/02/15 16:38:39     1.2
  @@ -8,6 +8,7 @@
     <!-- Purpose: Try to put out value of a variable without a template. -->
     <!-- ExpectedException: Illegal top-level element -->
     <!-- Creator: David Marston -->
  +  <!-- ExpectedException: out is not allowed in this position in the 
stylesheet! -->
   
   <xsl:variable name="var" select="Data"/>
   
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/match/err/matcherr02.xsl
  
  Index: matcherr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/match/err/matcherr02.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- matcherr02.xsl    2000/12/15 19:29:51     1.1
  +++ matcherr02.xsl    2001/02/15 16:38:41     1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Try to use xsl:template as something other than a top-level 
element. -->
     <!-- ExpectedException: (StylesheetHandler) xsl:template is not allowed 
inside a template! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: 
(StylesheetHandler) xsl:template is not allowed inside a template! -->
  +  <!-- ExpectedException: xsl:template is not allowed in this position in 
the stylesheet! -->
   
   <xsl:template match="letters">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/match/err/matcherr03.xsl
  
  Index: matcherr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/match/err/matcherr03.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- matcherr03.xsl    2000/12/15 19:29:51     1.1
  +++ matcherr03.xsl    2001/02/15 16:38:41     1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Test for error when xsl:template is nested in another 
top-level element. -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: 
(StylesheetHandler) xsl:template is not allowed inside a template! -->
     <!-- Author: David Marston -->
  +  <!-- ExpectedException: xsl:template is not allowed in this position in 
the stylesheet! -->
   
   <xsl:param name="bad">
     <xsl:template match="letters">
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/match/err/matcherr04.xsl
  
  Index: matcherr04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/match/err/matcherr04.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- matcherr04.xsl    2000/12/15 19:29:51     1.1
  +++ matcherr04.xsl    2001/02/15 16:38:41     1.2
  @@ -9,6 +9,7 @@
     <!-- Creator: David Marston -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add #text to 
xsl:apply-templates -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: 
ElemTemplateElement error: Can not add #text to xsl:apply-templates -->
  +  <!-- 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/match/err/matcherr05.xsl
  
  Index: matcherr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/match/err/matcherr05.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- matcherr05.xsl    2000/12/15 19:29:51     1.1
  +++ matcherr05.xsl    2001/02/15 16:38:41     1.2
  @@ -8,6 +8,7 @@
     <!-- Purpose: Put a disallowed attribute on xsl:template. -->
     <!-- Creator: David Marston -->
     <!-- ExpectedException: XSL Error: xsl:template has an illegal attribute: 
level -->
  +  <!-- ExpectedException: "level" attribute is not allowed on the 
xsl:template element! -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/match/err/matcherr07.xsl
  
  Index: matcherr07.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/match/err/matcherr07.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- matcherr07.xsl    2000/12/15 19:29:51     1.1
  +++ matcherr07.xsl    2001/02/15 16:38:42     1.2
  @@ -8,6 +8,7 @@
     <!-- Purpose: Put a disallowed attribute on xsl:apply-templates. -->
     <!-- Creator: David Marston -->
     <!-- ExpectedException: XSL Error: xsl:apply-templates has an illegal 
attribute: name -->
  +  <!-- ExpectedException: "name" attribute is not allowed on the 
xsl:apply-templates element -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr02.xsl
  
  Index: matherr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr02.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr02.xsl     2000/12/29 19:48:48     1.2
  +++ matherr02.xsl     2001/02/15 16:38:44     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" with unary 
minus. -->
     <!-- 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/math/err/matherr03.xsl
  
  Index: matherr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr03.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr03.xsl     2000/12/29 19:48:48     1.2
  +++ matherr03.xsl     2001/02/15 16:38:45     1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.5 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" with 
number(). -->
  -  <!-- 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/math/err/matherr04.xsl
  
  Index: matherr04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr04.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr04.xsl     2000/12/29 19:48:48     1.2
  +++ matherr04.xsl     2001/02/15 16:38:45     1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.5 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" with 
multiplication. -->
  -  <!-- 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/math/err/matherr05.xsl
  
  Index: matherr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr05.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr05.xsl     2000/12/29 19:48:48     1.2
  +++ matherr05.xsl     2001/02/15 16:38:46     1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 3.5 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of invalid function that resembles "true" with div. -->
  -  <!-- 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/math/err/matherr06.xsl
  
  Index: matherr06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr06.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr06.xsl     2000/12/29 19:48:48     1.2
  +++ matherr06.xsl     2001/02/15 16:38:46     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of number() with too many arguments. -->
     <!-- ExpectedException: number() has too many arguments. -->
  +  <!-- ExpectedException: FuncNumber only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.4       +1 -0      xml-xalan/test/tests/conf/math/err/matherr07.xsl
  
  Index: matherr07.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr07.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- matherr07.xsl     2001/01/26 15:48:06     1.3
  +++ matherr07.xsl     2001/02/15 16:38:47     1.4
  @@ -9,6 +9,7 @@
     <!-- Purpose: Test of sum() with too many arguments. -->
     <!-- ExpectedException: sum() has too many arguments. -->
     <!-- ExpectedException: sum only allows 1 argument -->
  +  <!-- ExpectedException: FuncSum only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr08.xsl
  
  Index: matherr08.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr08.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr08.xsl     2000/12/29 19:48:48     1.2
  +++ matherr08.xsl     2001/02/15 16:38:47     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of sum() with zero arguments. -->
     <!-- ExpectedException: one argument expected -->
  +  <!-- ExpectedException: FuncSum only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr09.xsl
  
  Index: matherr09.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr09.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr09.xsl     2000/12/29 19:48:48     1.2
  +++ matherr09.xsl     2001/02/15 16:38:48     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of floor() with too many arguments. -->
     <!-- ExpectedException: floor() has too many arguments. -->
  +  <!-- ExpectedException: FuncFloor only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr10.xsl
  
  Index: matherr10.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr10.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr10.xsl     2000/12/29 19:48:48     1.2
  +++ matherr10.xsl     2001/02/15 16:38:48     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of floor() with zero arguments. -->
     <!-- ExpectedException: one argument expected -->
  +  <!-- ExpectedException: FuncFloor only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr11.xsl
  
  Index: matherr11.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr11.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr11.xsl     2000/12/29 19:48:48     1.2
  +++ matherr11.xsl     2001/02/15 16:38:49     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of ceiling() with too many arguments. -->
     <!-- ExpectedException: ceiling() has too many arguments. -->
  +  <!-- ExpectedException: FuncCeiling only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr12.xsl
  
  Index: matherr12.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr12.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr12.xsl     2000/12/29 19:48:48     1.2
  +++ matherr12.xsl     2001/02/15 16:38:49     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of ceiling() with zero arguments. -->
     <!-- ExpectedException: one argument expected -->
  +  <!-- ExpectedException: FuncCeiling only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr13.xsl
  
  Index: matherr13.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr13.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr13.xsl     2000/12/29 19:48:48     1.2
  +++ matherr13.xsl     2001/02/15 16:38:49     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of round() with too many arguments. -->
     <!-- ExpectedException: round() has too many arguments. -->
  +  <!-- ExpectedException: FuncRound only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.3       +1 -0      xml-xalan/test/tests/conf/math/err/matherr14.xsl
  
  Index: matherr14.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/math/err/matherr14.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- matherr14.xsl     2000/12/29 19:48:48     1.2
  +++ matherr14.xsl     2001/02/15 16:38:49     1.3
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test of round() with zero arguments. -->
     <!-- ExpectedException: one argument expected -->
  +  <!-- ExpectedException: FuncRound only allows 1 arguments -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/mdocs/err/mdocserr02.xsl
  
  Index: mdocserr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/mdocs/err/mdocserr02.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mdocserr02.xsl    2000/12/17 18:48:02     1.1
  +++ mdocserr02.xsl    2001/02/15 16:38:55     1.2
  @@ -8,6 +8,7 @@
     <!-- Purpose: Test document() function with zero arguments. -->
     <!-- Creator: David Marston -->
     <!-- ExpectedException: document() function requires 1 or 2 arguments -->
  +  <!-- ExpectedException: FuncDocument only allows 2 arguments -->
   
   <xsl:template match="defaultcontent">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/mdocs/err/mdocserr03.xsl
  
  Index: mdocserr03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/mdocs/err/mdocserr03.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mdocserr03.xsl    2000/12/17 18:48:02     1.1
  +++ mdocserr03.xsl    2001/02/15 16:38:56     1.2
  @@ -8,6 +8,7 @@
     <!-- Purpose: Test document() function with too many arguments. -->
     <!-- Creator: David Marston -->
     <!-- ExpectedException: document() function requires 1 or 2 arguments -->
  +  <!-- ExpectedException: FuncDocument only allows 2 arguments -->
   
   <xsl:template match="defaultcontent">
     <out>
  
  
  
  1.2       +1 -0      xml-xalan/test/tests/conf/mdocs/err/mdocserr04.xsl
  
  Index: mdocserr04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/mdocs/err/mdocserr04.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- mdocserr04.xsl    2000/12/17 18:48:02     1.1
  +++ mdocserr04.xsl    2001/02/15 16:38:56     1.2
  @@ -9,6 +9,7 @@
     <!-- Purpose: Top-level elements must have some namespace. -->
     <!-- Creator: David Marston -->
     <!-- ExpectedException: top-level element test has no namespace -->
  +  <!-- ExpectedException: test is not allowed in this position in the 
stylesheet! -->
   
   <xsl:template match="doc">
     <out><xsl:text>
  
  
  
  1.2       +2 -1      xml-xalan/test/tests/conf/message/err/messageerr02.xsl
  
  Index: messageerr02.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/message/err/messageerr02.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- messageerr02.xsl  2000/12/15 19:25:06     1.1
  +++ messageerr02.xsl  2001/02/15 16:38:58     1.2
  @@ -8,9 +8,10 @@
     <!-- Purpose: Illegal value "duh" on terminate option -->                
     <!-- Creator: David Marston -->
     <!-- ExpectedException: terminate attribute must be "yes" or "no" -->
  +  <!-- ExpectedException: Value for terminate should equal 'yes' or 'no' -->
   
   <xsl:template match="/">
  -  <xsl:message terminate="duh">This message came from the MESSAGE03 
test.</xsl:message>
  +  <xsl:message terminate="duh">This message came from the MESSAGEerr02 
test.</xsl:message>
   </xsl:template>
   
   </xsl:stylesheet>
  
  
  
  1.2       +1 -0      
xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr04.xsl
  
  Index: namedtemplateerr04.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr04.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namedtemplateerr04.xsl    2000/12/17 18:52:53     1.1
  +++ namedtemplateerr04.xsl    2001/02/15 16:38:59     1.2
  @@ -10,6 +10,7 @@
     <!-- ExpectedException: Can not add #text to xsl:call-template -->
     <!-- ExpectedException: ElemTemplateElement error: Can not add #text to 
xsl:call-template -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: 
ElemTemplateElement error: Can not add #text to xsl:call-template -->
  +  <!-- 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/namedtemplate/err/namedtemplateerr05.xsl
  
  Index: namedtemplateerr05.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr05.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namedtemplateerr05.xsl    2000/12/17 18:52:53     1.1
  +++ namedtemplateerr05.xsl    2001/02/15 16:38:59     1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test param lacking name attribute. -->
     <!-- ExpectedException: XSL Error: xsl:param must have a name attribute. 
-->
  +  <!-- ExpectedException: xsl:param requires attribute: name -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      
xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr07.xsl
  
  Index: namedtemplateerr07.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr07.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namedtemplateerr07.xsl    2000/12/17 18:52:53     1.1
  +++ namedtemplateerr07.xsl    2001/02/15 16:39:00     1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Test with-param lacking name attribute. -->
     <!-- ExpectedException: XSL Error: xsl:with-param must have a 'name' 
attribute. -->
  +  <!-- ExpectedException: xsl:with-param requires attribute: name -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.2       +1 -0      
xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr10.xsl
  
  Index: namedtemplateerr10.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr10.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namedtemplateerr10.xsl    2000/12/17 18:52:53     1.1
  +++ namedtemplateerr10.xsl    2001/02/15 16:39:00     1.2
  @@ -8,6 +8,7 @@
     <!-- Creator: David Marston -->
     <!-- Purpose: Put xsl:with-param in a template, which is illegal. -->
     <!-- ExpectedException: xsl:with-param must be child of 
xsl:apply-templates or xsl:call-template -->
  +  <!-- ExpectedException: xsl:with-param is not allowed in this position in 
the stylesheet! -->
   
   <xsl:template match="doc">
     <xsl:with-param name="par1" select="'foo'"/>
  
  
  
  1.2       +1 -0      
xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr12.xsl
  
  Index: namedtemplateerr12.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-xalan/test/tests/conf/namedtemplate/err/namedtemplateerr12.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- namedtemplateerr12.xsl    2000/12/17 18:52:53     1.1
  +++ namedtemplateerr12.xsl    2001/02/15 16:39:00     1.2
  @@ -9,6 +9,7 @@
        with the same name and same import precedence. -->
     <!-- Author: Paul Dick -->
     <!-- ExpectedException: There is already a template named: a -->
  +  <!-- ExpectedException: Found more than one template named: a -->
   
   <xsl:import href="a.xsl"/>
   
  
  
  

Reply via email to