You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2001/01/26 16:52:36 UTC

cvs commit: xml-xalan/test/tests/conf/sort/err sorterr10.xsl sorterr02.xsl sorterr03.xsl sorterr05.xsl sorterr01.xsl

dmarston    01/01/26 07:52:36

  Modified:    test/tests/conf/sort/err sorterr10.xsl sorterr02.xsl
                        sorterr03.xsl sorterr05.xsl sorterr01.xsl
  Log:
  Clarify expected error message
  
  Revision  Changes    Path
  1.3       +1 -1      xml-xalan/test/tests/conf/sort/err/sorterr10.xsl
  
  Index: sorterr10.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr10.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sorterr10.xsl	2000/12/29 20:10:41	1.2
  +++ sorterr10.xsl	2001/01/26 15:52:35	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 10 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: When can't sort on primary key, should not sort at all. Raise warning? -->
  -  <!-- ExpectedException: ??? -->
  +  <!-- ExpectedException: Sort nodes not found. Will use document order. -->
   
   <xsl:key name="MonthNum" match="monthtab/entry/number" use="../name" />
   
  
  
  
  1.3       +1 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sorterr02.xsl	2000/12/29 20:10:42	1.2
  +++ sorterr02.xsl	2001/01/26 15:52:35	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 10 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Incorrect value for order attribute on sort. -->
  -  <!-- ExpectedException: -->
  +  <!-- ExpectedException: Sorting order must be "ascending" or "descending" -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.3       +1 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sorterr03.xsl	2000/12/29 20:10:42	1.2
  +++ sorterr03.xsl	2001/01/26 15:52:35	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 10 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Incorrect value for case-order attribute on sort. -->
  -  <!-- ExpectedException: -->
  +  <!-- ExpectedException: Sorting case-order must be "upper-first" or "lower-first" -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.3       +1 -1      xml-xalan/test/tests/conf/sort/err/sorterr05.xsl
  
  Index: sorterr05.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr05.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sorterr05.xsl	2000/12/29 20:10:42	1.2
  +++ sorterr05.xsl	2001/01/26 15:52:35	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 10 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Try to put a child node inside xsl:sort. -->
  -  <!-- ExpectedException: -->
  +  <!-- ExpectedException: xsl:comment is not allowed in this position in the stylesheet -->
   
   <xsl:template match="doc">
     <out>
  
  
  
  1.3       +1 -1      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.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- sorterr01.xsl	2000/12/29 20:10:44	1.2
  +++ sorterr01.xsl	2001/01/26 15:52:35	1.3
  @@ -7,7 +7,7 @@
     <!-- Section: 10 -->
     <!-- Creator: David Marston -->
     <!-- Purpose: Undefined value for data-type attribute on sort. -->
  -  <!-- ExpectedException: -->
  +  <!-- ExpectedException: Sorting data-type must be "text" or "number" -->
   
   <xsl:template match="doc">
     <out>