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/04 16:10:53 UTC

cvs commit: xml-xalan/test/tests/conf/embed foo.xsl embed03.xsl embed04.xsl embed06.xsl embed07.xml embed08.xml embed02.xml

dmarston    01/01/04 07:10:52

  Modified:    test/tests/conf/embed foo.xsl embed03.xsl embed04.xsl
                        embed06.xsl embed07.xml embed08.xml embed02.xml
  Log:
  Improve comments; distinguish the tests from one another
  
  Revision  Changes    Path
  1.2       +1 -2      xml-xalan/test/tests/conf/embed/foo.xsl
  
  Index: foo.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/foo.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- foo.xsl	2000/12/16 01:08:09	1.1
  +++ foo.xsl	2001/01/04 15:10:43	1.2
  @@ -5,8 +5,7 @@
   <!-- Document: http://www.w3.org/TR/xslt -->
   <!-- DocVersion: 19991116 -->
   <!-- Section: 2.7 -->
  -<!-- Purpose: General test of embedded stylesheet using Processing Instruction
  -              xsl:stylesheet.  -->
  +<!-- Purpose: Referenced by embed02 and embed08 in their xml-stylesheet PIs.  -->
   
   <xsl:template match="/">
     <out>
  
  
  
  1.2       +3 -2      xml-xalan/test/tests/conf/embed/embed03.xsl
  
  Index: embed03.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed03.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embed03.xsl	2000/12/16 01:08:09	1.1
  +++ embed03.xsl	2001/01/04 15:10:44	1.2
  @@ -4,9 +4,10 @@
   
     <!-- FileName: embed03 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
  -  <!-- DocVersion: 19990922 -->
  +  <!-- DocVersion: 19991116 -->
     <!-- Section: 2.3 LRE as Stylesheet -->
  -  <!-- Purpose: Stylesheet may consist of just a literal result element -->
  +  <!-- Purpose: Stylesheet may consist of just a literal result element.
  +     This is the example from the spec. -->
   
     <head>
       <title>Expense Report Summary</title>
  
  
  
  1.2       +1 -1      xml-xalan/test/tests/conf/embed/embed04.xsl
  
  Index: embed04.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed04.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embed04.xsl	2000/12/16 01:08:09	1.1
  +++ embed04.xsl	2001/01/04 15:10:45	1.2
  @@ -6,7 +6,7 @@
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 2.3 LRE as Stylesheet -->
  -  <!-- Purpose: Output should be identical to embed03. -->
  +  <!-- Purpose: From the spec: reference version, non-embedded, for comparison. -->
   
   <xsl:template match="/">
   <html>
  
  
  
  1.2       +3 -2      xml-xalan/test/tests/conf/embed/embed06.xsl
  
  Index: embed06.xsl
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed06.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embed06.xsl	2000/12/16 01:08:09	1.1
  +++ embed06.xsl	2001/01/04 15:10:45	1.2
  @@ -2,11 +2,12 @@
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
         lang="en">
   
  -  <!-- FileName: Embed06 -->
  +  <!-- FileName: embed06 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 2.3 LRE as Stylesheet -->
  -  <!-- Purpose: Do everything inside an HTML element. Note first item in this file. -->
  +  <!-- Creator: Paul Dick -->
  +  <!-- Purpose: Do everything inside an HTML element, including for-each and if structures. -->
   
   <head>
     <title>Sales Results By Division</title>
  
  
  
  1.3       +3 -2      xml-xalan/test/tests/conf/embed/embed07.xml
  
  Index: embed07.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed07.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- embed07.xml	2001/01/03 01:34:19	1.2
  +++ embed07.xml	2001/01/04 15:10:46	1.3
  @@ -1,4 +1,4 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <?xml-stylesheet type="text/xsl" href="#style1"?>
   <!DOCTYPE doc [
   <!ELEMENT doc (xsl:transform | body)*>
  @@ -20,7 +20,8 @@
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
     <!-- Section: 2.7 Embedding Stylesheets. -->
  -  <!-- Purpose: General test of embedded transform using fragment identifier -->
  +  <!-- Creator: Paul Dick -->
  +  <!-- Purpose: General test of embedded "transform" using fragment identifier -->
   
   <xsl:key name="test" match="para" use="@id"/>
   
  
  
  
  1.2       +8 -7      xml-xalan/test/tests/conf/embed/embed08.xml
  
  Index: embed08.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed08.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embed08.xml	2000/12/16 01:08:09	1.1
  +++ embed08.xml	2001/01/04 15:10:46	1.2
  @@ -1,5 +1,5 @@
  -<?xml version="1.0"?> 
  -<?xml-stylesheet media="xxx" type="text/xsl" href="royrogers.xsl"?>
  +<?xml version="1.0"?>
  +<?xml-stylesheet media="xxx" type="text/xsl" href="nonexist.xsl"?>
   <?xml-stylesheet media="yyy" type="text/xsl" href="foo.xsl"?>
   <?xml-stylesheet media="zzz" type="text/xsl" href="#style1"?>
   <?xml-stylesheet media="xyz" alternate="yes" type="text/xsl" href="mediaembed08.xsl"?>
  @@ -7,14 +7,15 @@
   <doc>
   <head>
   <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
  -				version="1.0"
  -                id="style1">
  +    version="1.0" id="style1">
   
  -  <!-- FileName: EMBED08 -->
  +  <!-- FileName: embed08 -->
     <!-- Document: http://www.w3.org/TR/xslt -->
     <!-- DocVersion: 19991116 -->
  -  <!-- Section: 2.7 Embedding Stylesheets. -->
  -  <!-- Purpose: Test the media attribute and -MEDIA command-line option -->
  +  <!-- Section: 2.7 Embedding Stylesheets -->
  +  <!-- Creator: Paul Dick -->
  +  <!-- Purpose: Test the media attribute and -MEDIA command-line option. -->
  +  <!-- Can be invoked four ways; media="xxx" is an error case. -->
   
   <xsl:key name="test" match="para" use="@id"/>
   
  
  
  
  1.2       +7 -1      xml-xalan/test/tests/conf/embed/embed02.xml
  
  Index: embed02.xml
  ===================================================================
  RCS file: /home/cvs/xml-xalan/test/tests/conf/embed/embed02.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- embed02.xml	2000/12/16 01:08:09	1.1
  +++ embed02.xml	2001/01/04 15:10:47	1.2
  @@ -1,5 +1,11 @@
  -<?xml version="1.0"?> 
  +<?xml version="1.0"?>
   <?xml-stylesheet type="text/xsl" href="foo.xsl"?>
  +
  +  <!-- FileName: embed02 -->
  +  <!-- Document: http://www.w3.org/TR/xslt -->
  +  <!-- DocVersion: 19991116 -->
  +  <!-- Section: 2.7 Embedding Stylesheets. -->
  +  <!-- Purpose: Minimal test of embedded stylesheet -->
   
   <doc>
   <head>