dmarston    00/12/15 14:02:55

  Added:       test/tests/conf/reluri reluri10.xsl final_included.xsl
                        reluri01.xml reluri01.xsl reluri02.xml reluri02.xsl
                        reluri03.xml reluri03.xsl reluri04.xml reluri04.xsl
                        reluri05.xml reluri05.xsl reluri06.xml reluri06.xsl
                        reluri07.xml reluri07.xsl reluri08.xml reluri08.xsl
                        reluri09.xml reluri09.xsl reluri10.xml
                        final_imported.xsl
  Log:
  Copy of tests in Lotus/IBM repository
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/reluri/reluri10.xsl
  
  Index: reluri10.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri10 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.1 Multiple Source Documents -->
    <!-- Purpose: Testing document() function with two arguments: node-set, 
node-set: 
         verifing that a relative url specified in first argument is resolved 
based
           on base uri of document in second argument nodeset.                  
   -->
  
  <xsl:output indent="yes"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:copy-of 
select="document(filename,document('level1/level2/xreluri10b.xml'))/*/body"/>
      <!-- xsl:copy-of 
select="document('level1/level2/xreluri10b.xml')/*/body"/ -->
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/final_included.xsl
  
  Index: final_included.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="four-tag">
    From stylesheet final_included.xsl: <xsl:value-of select="self::node()"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri01.xml
  
  Index: reluri01.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri01.xsl
  
  Index: reluri01.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri01 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: import, import, import import-->
  
  <xsl:import href="level1/level1_import1.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: import, import, import import
    importing level1_import1.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri02.xml
  
  Index: reluri02.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri02.xsl
  
  Index: reluri02.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri02 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: import, import, include, import -->
  
  <xsl:import href="level1/level1_import2.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: import, import, include, import
    importing level1_import2.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri03.xml
  
  Index: reluri03.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri03.xsl
  
  Index: reluri03.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri03 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: import, include, import, import -->
  
  <xsl:import href="level1/level1_include1.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: import, include, import, import
    importing level1_include1.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri04.xml
  
  Index: reluri04.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri04.xsl
  
  Index: reluri04.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri04 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: import, include, include, import -->
  
  <xsl:import href="level1/level1_include2.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: import, include, include, import
    importing level1_include2.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri05.xml
  
  Index: reluri05.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri05.xsl
  
  Index: reluri05.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri05 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: include, import, import, include -->
  
  <xsl:include href="level1/level1_import3.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: include, import, import, include
    Including level1_import3.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri06.xml
  
  Index: reluri06.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri06.xsl
  
  Index: reluri06.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri06 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: include, import, include, include -->
  
  <xsl:include href="level1/level1_import4.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: include, import, include, include
    Including level1_import4.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri07.xml
  
  Index: reluri07.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri07.xsl
  
  Index: reluri07.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri07 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: include, include, import, include -->
  
  <xsl:include href="level1/level1_include3.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: include, include, import, include
    Including level1_include3.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri08.xml
  
  Index: reluri08.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
                 <three-tag>Text of three-tag</three-tag>
                 <four-tag>Text of four-tag</four-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri08.xsl
  
  Index: reluri08.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri08 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 3.2 Base URI (Stylesheet import/Inclusion) -->
    <!-- Purpose: This test verifies correct URI resolution with relative 
URI's. --> 
    <!-- Case: include, include, include, include -->
  
  <xsl:include href="level1/level1_include4.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
  Case of: include, include, include, include
    Including level1_include4.xsl
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri09.xml
  
  Index: reluri09.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <defaultcontent>
        <section>1</section>
        <section>2</section>
        <section>3</section>
        <section>4</section>
        <section>5</section>
        <section>6</section>
  </defaultcontent>
  </doc>
  
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri09.xsl
  
  Index: reluri09.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: reluri09 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.1 Multiple Source Documents -->
    <!-- Author: Paul Dick -->
    <!-- Purpose: Testing document() function with two arguments: string, 
node-set: 
         verifing that a relative url specified in first argument is resolved 
based
           on base uri of document in second argument nodeset.                  
   -->
  
  <xsl:output indent="yes"/>
  
  <xsl:template match="defaultcontent">
    <out>
      <xsl:copy-of 
select="document('level3/xreluri09a.xml',document('level1/level2/xreluri09b.xml'))"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/reluri10.xml
  
  Index: reluri10.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <filename>level3/xreluri09a.xml</filename>
  </doc>
  
  
  
  1.1                  xml-xalan/test/tests/conf/reluri/final_imported.xsl
  
  Index: final_imported.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="four-tag">
    From stylesheet final_imported.xsl: <xsl:value-of select="self::node()"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  

Reply via email to