You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@locus.apache.org on 2000/12/29 21:10:48 UTC

cvs commit: xml-xalan/test/tests/conf/sort/err sorterr10.xsl sorterr02.xsl sorterr03.xsl sorterr04.xsl sorterr05.xsl sorterr06.xsl sorterr07.xsl sorterr08.xsl sorterr09.xsl sorterr01.xsl

dmarston    00/12/29 12:10:48

  Modified:    test/tests/conf/sort/err sorterr10.xsl sorterr02.xsl
                        sorterr03.xsl sorterr04.xsl sorterr05.xsl
                        sorterr06.xsl sorterr07.xsl sorterr08.xsl
                        sorterr09.xsl sorterr01.xsl
  Log:
  Improve comments
  
  Revision  Changes    Path
  1.2       +1 -0      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr10.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr10.xsl	2000/12/29 20:10:41	1.2
  @@ -5,6 +5,7 @@
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: When can't sort on primary key, should not sort at all. Raise warning? -->
     <!-- ExpectedException: ??? -->
   
  
  
  
  1.2       +2 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr02.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr02.xsl	2000/12/29 20:10:42	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr02 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Incorrect value for order attribute on sort. -->
     <!-- ExpectedException: -->
   
  
  
  
  1.2       +2 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr03.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr03.xsl	2000/12/29 20:10:42	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr03 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Incorrect value for case-order attribute on sort. -->
     <!-- ExpectedException: -->
   
  
  
  
  1.2       +2 -1      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr04.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr04.xsl	2000/12/29 20:10:42	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr04 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Undefined attribute on sort. -->
     <!-- ExpectedException: xsl:sort has an illegal attribute: invalidattr -->
   
  
  
  
  1.2       +2 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr05.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr05.xsl	2000/12/29 20:10:42	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr05 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Try to put a child node inside xsl:sort. -->
     <!-- ExpectedException: -->
   
  
  
  
  1.2       +3 -2      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr06.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr06.xsl	2000/12/29 20:10:43	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr06 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
  -  <!-- Section: 7.4 Creating Comments -->
  +  <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Test use of xsl:sort inside a directive where it's not allowed. -->
     <!-- 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. -->
  
  
  
  1.2       +2 -1      xml-xalan/test/tests/conf/sort/err/sorterr07.xsl
  
  Index: sorterr07.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr07.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr07.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr07.xsl	2000/12/29 20:10:43	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr07 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Test use of xsl:sort at top level, where it's not allowed. -->
     <!-- ExpectedException: (StylesheetHandler) xsl:sort not allowed inside a stylesheet! -->
     <!-- ExpectedException: org.apache.xalan.xslt.XSLProcessorException: (StylesheetHandler) xsl:sort not allowed inside a stylesheet! -->
  
  
  
  1.2       +3 -2      xml-xalan/test/tests/conf/sort/err/sorterr08.xsl
  
  Index: sorterr08.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/sort/err/sorterr08.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr08.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr08.xsl	2000/12/29 20:10:43	1.2
  @@ -1,11 +1,12 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
  -                xmlns:baz1="http://xsl.lotus.com/ns1">
  +      xmlns:baz1="http://xsl.lotus.com/ns1">
   
     <!-- FileName: SORTerr08 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Undefined value for data-type attribute on sort, but it's qualified. -->
     <!-- ExpectedException: -->
   
  
  
  
  1.2       +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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr09.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr09.xsl	2000/12/29 20:10:44	1.2
  @@ -5,6 +5,7 @@
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Try to use an AVT for the select value. -->
     <!-- ExpectedException: select value for xsl:sort cannot contain {} -->
   
  
  
  
  1.2       +2 -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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- sorterr01.xsl	2000/12/15 21:58:13	1.1
  +++ sorterr01.xsl	2000/12/29 20:10:44	1.2
  @@ -1,10 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
   
     <!-- FileName: SORTerr01 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 10 -->
  +  <!-- Creator: David Marston -->
     <!-- Purpose: Undefined value for data-type attribute on sort. -->
     <!-- ExpectedException: -->