dmarston    00/12/15 17:12:42

  Added:       test/tests/conf/impincl s.xsl c.xsl d.xsl e.xsl f.xsl g.xsl
                        h.xsl i.xsl impincl01.xml impincl01.xsl
                        impincl02.xml impincl02.xsl impincl03.xml
                        impincl03.xsl impincl04.xml impincl04.xsl
                        impincl05.xml impincl05.xsl impincl06.xml
                        impincl06.xsl impincl07.xml impincl07.xsl
                        impincl08.xml impincl08.xsl impincl09.xml
                        impincl09.xsl impincl10.xml impincl10.xsl
                        impincl11.xml impincl11.xsl impincl12.xml
                        impincl12.xsl impincl14.xml impincl14.xsl
                        impincl15.xml impincl15.xsl impincl16.xml
                        impincl16.xsl impincl17.xml impincl17.xsl j.xsl
                        k.xsl l.xsl m.xsl n.xsl o.xsl p.xsl q.xsl r.xsl
                        b.xsl
  Log:
  Copy of tests in Lotus/IBM repository
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/impincl/s.xsl
  
  Index: s.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="tag" mode="yes">
    <pre><xsl:apply-templates/></pre>
  </xsl:template>
  
  <xsl:template match="tag" mode="no">
    <bad><xsl:apply-templates/></bad>
  </xsl:template>
  
  <xsl:template match="tag">
    <unmoded><xsl:apply-templates/></unmoded>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/c.xsl
  
  Index: c.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  <xsl:import href="e.xsl"/>
  
  <xsl:template match="title">
    C-title:<xsl:text>,</xsl:text>
    <xsl:apply-imports/>
  </xsl:template>
    
  <xsl:template match="chapters">
    C-chapters:
    <xsl:apply-imports/>
  </xsl:template> 
  
       
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/d.xsl
  
  Index: d.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="title">
    D-title:
  </xsl:template> 
  
  <xsl:template match="overview">
    D-overview: 
    <xsl:value-of select="."/>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/e.xsl
  
  Index: e.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="title">
    E-title:<xsl:text>,</xsl:text>
  </xsl:template>
  
  <xsl:template match="chapter">
    E-chapter: 
    <xsl:value-of select="@num"/><xsl:text>.</xsl:text>  
    <xsl:value-of select="."/>
  </xsl:template> 
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/f.xsl
  
  Index: f.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:import href="g.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/g.xsl
  
  Index: g.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="foo">
    <bad-match/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/h.xsl
  
  Index: h.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="foo">
    <best-match/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/i.xsl
  
  Index: i.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:output method="html"/>
  
  <xsl:template match="one-tag">
   From Imported stylesheet: <xsl:value-of select="self::node()"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl01.xml
  
  Index: impincl01.xml
  ===================================================================
  <?xml version="1.0"?>
  <root-tag>
                 <one-tag>Text of one-tag</one-tag>
                 <two-tag>Text of two-tag</two-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl01.xsl
  
  Index: impincl01.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL01 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 2.6.1 Stylesheet Inclusion -->
    <!-- Purpose: Test of basic Import & Include functionality. -->
  
  <xsl:import href="i.xsl"/>
  <xsl:include href="j.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl02.xml
  
  Index: impincl02.xml
  ===================================================================
  <?xml version="1.0"?>
  <foo/>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl02.xsl
  
  Index: impincl02.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL02 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 2.6 Combining Stylesheets -->
    <!-- Purpose: Included document's xsl:import (f imports g) is 
         moved into the including document. Import precedence is 
         impincl02, g, h -->
  
  <xsl:import href="h.xsl"/>
  <xsl:include href="f.xsl"/>
  
  <xsl:template match="foo">
    <out>
      <good-match/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl03.xml
  
  Index: impincl03.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
    <title>Testing import/include nesting</title>
    <author>Joe Jones</author>
    <publisher>Conformance Press</publisher>
    <overview>testing-import</overview>
    <chapters>
      <chapter num="1">know XSL</chapter>
      <chapter num="2">love XSL</chapter>
    </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl03.xsl
  
  Index: impincl03.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL03 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.2 -->
    <!-- Purpose: Nest imports and includes so that there are two of each, 
import on top. -->
  
  <xsl:import href="m.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="concat($mParam,$nParam,$oParam,$pParam)"/>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
   
  <xsl:template match="title">
    Main stylesheet - title:
    <xsl:value-of select="."/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl04.xml
  
  Index: impincl04.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl04.xsl
  
  Index: impincl04.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl04 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.1 -->
    <!-- Purpose: Verifies; "A relative URI is resolved relative to the
         base URI of the xsl:include element". The included document loads
         from an included file that resides in a different subdirectory. -->
  
  <xsl:include href="../impincl-test/impincl04.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:call-template name="TestInclude"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl05.xml
  
  Index: impincl05.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  <title>Testing:import-precedence</title>
  <author>Joe Jones</author>
  <overview>testing-import</overview>
  <chapters>
  <chapter num="1">know xsl</chapter>
  <chapter num="2">love xsl</chapter>
  </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl05.xsl
  
  Index: impincl05.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL05 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 2.6.2 -->
    <!-- Purpose: Two imports, each of which has an import, plus an 
         apply-imports in main stylesheet. -->
  
  <xsl:import href="b.xsl"/>
  <xsl:import href="c.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
   
  <xsl:template match="title">
    Import01-title<xsl:text>,</xsl:text>
    <xsl:apply-imports/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl06.xml
  
  Index: impincl06.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  <title>Testing-xsl:include</title>
  <author>Joe Jones</author>
  <overview>testing-include</overview>
  <chapters>
  <chapter num="1">know xsl</chapter>
  <chapter num="2">love xsl</chapter>
  </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl06.xsl
  
  Index: impincl06.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL06 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 2.6 -->
    <!-- Purpose: Two includes, each of which has an import. -->
  
  <xsl:include href="b.xsl"/>
  <xsl:include href="c.xsl"/>
  
  <xsl:template match="/*">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
   
  <xsl:template match="title">
    Includ01-title: 
    <xsl:apply-templates/>
  </xsl:template>
  
  <xsl:template match="chapter">
    <xsl:value-of select="@num"/> .  
    <xsl:value-of select="."/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl07.xml
  
  Index: impincl07.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  <title>Testing:import-precedence</title>
  <author>Joe Jones</author>
  <overview>testing-import</overview>
  <chapters>
  <chapter num="1">know xsl</chapter>
  <chapter num="2">love xsl</chapter>
  </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl07.xsl
  
  Index: impincl07.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: IMPINCL07 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 2.6.2 -->
    <!-- Purpose: Two imports, each of which has an import, 
         plus an apply-imports in main stylesheet. -->
  
  <xsl:import href="b.xsl"/>
  <xsl:import href="c.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
   
  <xsl:template match="title">
    Import01-title<xsl:text>,</xsl:text>
    <xsl:apply-imports/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl08.xml
  
  Index: impincl08.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl08.xsl
  
  Index: impincl08.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl08 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.2 -->
    <!-- Creator: Paul Dick -->
    <!-- Purpose: Loads document from an included file that resides in
         a different subdirectory. -->
  
  <xsl:include href="../impincl-test/impincl08.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:call-template name="TestInclude"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl09.xml
  
  Index: impincl09.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl09.xsl
  
  Index: impincl09.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:include href="file:q.xsl"/>
  
    <!-- FileName: impincl09 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.1 Stylesheet Inclusion -->
    <!-- Creator: Paul Dick -->
    <!-- Purpose: The resource located by the href attribute value is parsed as 
an 
         XML document, and the children of the xsl:stylesheet element in this 
document 
         replace the xsl:include element in the including document. (No 
namespaces 
         should be copied over. -->
  
  <xsl:template match="/">
    <out>
      <xsl:element name="test" use-attribute-sets="set1 set2" 
namespace="www.lotus.com"/>
    </out>
  </xsl:template>
  
  <xsl:attribute-set name="set2">
    <xsl:attribute name="text-decoration">underline</xsl:attribute>
    <xsl:attribute name="test" ></xsl:attribute>
  </xsl:attribute-set>
  
  <xsl:attribute-set name="set1">
    <xsl:attribute name="color">black</xsl:attribute>
  </xsl:attribute-set>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl10.xml
  
  Index: impincl10.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <tag>Example of apply-imports</tag>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl10.xsl
  
  Index: impincl10.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl10 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 5.6 Overriding Template Rules -->
    <!-- Purpose: General test of xsl:apply-imports from spec. -->
  
  <xsl:import href="l.xsl"/>
  
  <xsl:template match="doc">
   <out>
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  <xsl:template match="tag">
        <div style="border: solid red">
                <xsl:apply-imports/>
        </div>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl11.xml
  
  Index: impincl11.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc>
    <title>Testing import/include nesting</title>
    <author>Joe Jones</author>
    <publisher>Conformance Press</publisher>
    <overview>testing-import</overview>
    <chapters>
      <chapter num="1">know XSL</chapter>
      <chapter num="2">love XSL</chapter>
    </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl11.xsl
  
  Index: impincl11.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl11 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.2 -->
    <!-- Creator: Paul Dick -->
    <!-- Purpose: Nest imports and includes using relative paths. -->
  
  <xsl:import href="fragments\ss2.xsl"/>
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="concat($mParam,$nParam,$oParam,$pParam)"/>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  <xsl:template match="title">
    Main stylesheet - title:
    <xsl:value-of select="."/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl12.xml
  
  Index: impincl12.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>
                 <five-tag>Text of five-tag</five-tag>
                 <six-tag>Text of six-tag</six-tag>
                 <seven-tag>Text of seven-tag</seven-tag>
                 <eight-tag>Text of eight-tag</eight-tag>
                 <nine-tag>Text of nine-tag</nine-tag>
                 <ten-tag>Text of ten-tag</ten-tag>
  </root-tag>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl12.xsl
  
  Index: impincl12.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl12 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.1 Stylesheet Inclusion -->
    <!-- Creator: Paul Dick -->
    <!-- Purpose: Test of basic Import & Include functionality over the 
network. -->
  
  <!-- xsl:import 
href="http://www.oucs.ox.ac.uk/stylesheets/teihtml-param.xsl"/ -->
  <xsl:import 
href="http://spitfire.lotus.com/Testsuite/Stylesheets/t12imp.xsl"/>
  <xsl:include 
href="http://spitfire.lotus.com/Testsuite/Stylesheets/t12inc.xsl"/>
  
  <xsl:template match="root-tag">
   <out>
    <xsl:apply-templates/>
   </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl14.xml
  
  Index: impincl14.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <title>Testing-xsl:include</title>
    <author>Joe Jones</author>
    <overview>testing-include</overview>
    <chapters>
      <chapter num="1">know xsl</chapter>
      <chapter num="2">love xsl</chapter>
    </chapters>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl14.xsl
  
  Index: impincl14.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl14 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 5.6 Overriding Template Rules -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Show that apply-imports has limited scope of rules to search. 
-->
    <!-- "xsl:apply-imports processes the current node using only template 
rules that
       were imported into the stylesheet CONTAINING THE CURRENT TEMPLATE 
RULE...." 
       The apply-imports will be done in c.xsl; rules from r won't apply at 
that time. -->
  
  <xsl:import href="r.xsl"/>
  <xsl:import href="c.xsl"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl15.xml
  
  Index: impincl15.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <tag>Example of apply-imports</tag>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl15.xsl
  
  Index: impincl15.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: impincl15 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 5.6 Overriding Template Rules -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test that apply-imports stays in same mode as what called it. 
-->
  
  <xsl:import href="s.xsl"/>
  
  <xsl:template match="doc">
    <out>
      <xsl:apply-templates mode="yes"/>
    </out>
  </xsl:template>
  
  <xsl:template match="tag" mode="yes">
    <div style="border: solid green">
      <xsl:apply-imports/>
    </div>
  </xsl:template>
  
  <xsl:template match="tag">
    <div style="border: solid red">
      <xsl:apply-imports/>
    </div>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl16.xml
  
  Index: impincl16.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <doc>
  <aaa att="no" foo="nope" val="yes">1</aaa>
  <bbb>2</bbb>
  <ccc>3</ccc>
  <ddd>4</ddd>
  <eee>5</eee>
  <fff>6</fff>
  <ggg>7</ggg>
  <hhh>8</hhh>
  <iii>9</iii>
  <jjj>10</jjj>
  <kkk>11</kkk>
  <lll>12</lll>
  <mmm>13</mmm>
  <nnn>14</nnn>
  <ooo>15</ooo>
  <ppp>16</ppp>
  <qqq>17</qqq>
  <rrr>18</rrr>
  <sss>19</sss>
  <ttt>20</ttt>
  <uuu>21</uuu>
  <vvv>22</vvv>
  <www>23</www>
  <xxx>24</xxx>
  <yyy>25</yyy>
  <aab>26</aab>
  <bbb>27</bbb>
  <ccb>28</ccb>
  <ddb>29</ddb>
  <eeb>30</eeb>
  <ffb>31</ffb>
  <ggb>32</ggb>
  <hhb>33</hhb>
  <iib>34</iib>
  <jjb>35</jjb>
  <kkb>36</kkb>
  <llb>37</llb>
  <mmb>38</mmb>
  <nnb>39</nnb>
  <oob>40</oob>
  <ppb>41</ppb>
  <qqb>42</qqb>
  <rrb>43</rrb>
  <ssb>44</ssb>
  <ttb>45</ttb>
  <uub>46</uub>
  <vvb>47</vvb>
  <wwb>48</wwb>
  <xxb>49</xxb>
  <yyb>50</yyb>
  <aac>51</aac>
  <bbc>52</bbc>
  <ccc>53</ccc>
  <ddc>54</ddc>
  <eec>55</eec>
  <ffc>56</ffc>
  <ggc>57</ggc>
  <hhc>58</hhc>
  <iic>59</iic>
  <jjc>60</jjc>
  <kkc>61</kkc>
  <llc>62</llc>
  <mmc>63</mmc>
  <nnc>64</nnc>
  <ooc>65</ooc>
  <ppc>66</ppc>
  <qqc>67</qqc>
  <rrc>68</rrc>
  <ssc>69</ssc>
  <ttc>70</ttc>
  <uuc>71</uuc>
  <vvc>72</vvc>
  <wwc>73</wwc>
  <xxc>74</xxc>
  <yyc>75</yyc>
  <aad>76</aad>
  <bbd>77</bbd>
  <ccd>78</ccd>
  <ddd>79</ddd>
  <eed>80</eed>
  <ffd>81</ffd>
  <ggd>82</ggd>
  <hhd>83</hhd>
  <iid>84</iid>
  <jjd>85</jjd>
  <kkd>86</kkd>
  <lld>87</lld>
  <mmd>88</mmd>
  <nnd>89</nnd>
  <ood>90</ood>
  <ppd>91</ppd>
  <qqd>92</qqd>
  <rrd>93</rrd>
  <ssd>94</ssd>
  <ttd>95</ttd>
  <uud>96</uud>
  <vvd>97</vvd>
  <wwd>98</wwd>
  <xxd>99</xxd>
  <yyd century="yes">100</yyd>
  <aae>101</aae>
  <bbe>102</bbe>
  <cce>103</cce>
  <dde>104</dde>
  <eee>105</eee>
  <ffe>106</ffe>
  <gge>107</gge>
  <hhe>108</hhe>
  <iie>109</iie>
  <jje>110</jje>
  <kke>111</kke>
  <lle>112</lle>
  <mme>113</mme>
  <nne>114</nne>
  <ooe>115</ooe>
  <ppe>116</ppe>
  <qqe>117</qqe>
  <rre>118</rre>
  <sse>119</sse>
  <tte>120</tte>
  <uue>121</uue>
  <vve>122</vve>
  <wwe>123</wwe>
  <xxe>124</xxe>
  <yye>125</yye>
  <aaf>126</aaf>
  <bbf>127</bbf>
  <ccf>128</ccf>
  <ddf>129</ddf>
  <eef>130</eef>
  <fff>131</fff>
  <ggf>132</ggf>
  <hhf>133</hhf>
  <iif>134</iif>
  <jjf>135</jjf>
  <kkf>136</kkf>
  <llf>137</llf>
  <mmf>138</mmf>
  <nnf>139</nnf>
  <oof>140</oof>
  <ppf>141</ppf>
  <qqf>142</qqf>
  <rrf>143</rrf>
  <ssf>144</ssf>
  <ttf>145</ttf>
  <uuf>146</uuf>
  <vvf>147</vvf>
  <wwf>148</wwf>
  <xxf>149</xxf>
  <yyf>150</yyf>
  <aag>151</aag>
  <bbg>152</bbg>
  <ccg>153</ccg>
  <ddg>154</ddg>
  <eeg>155</eeg>
  <ffg>156</ffg>
  <ggg>157</ggg>
  <hhg>158</hhg>
  <iig>159</iig>
  <jjg>160</jjg>
  <kkg>161</kkg>
  <llg>162</llg>
  <mmg>163</mmg>
  <nng>164</nng>
  <oog>165</oog>
  <ppg>166</ppg>
  <qqg>167</qqg>
  <rrg>168</rrg>
  <ssg>169</ssg>
  <ttg>170</ttg>
  <uug>171</uug>
  <vvg>172</vvg>
  <wwg>173</wwg>
  <xxg>174</xxg>
  <yyg>175</yyg>
  <aah>176</aah>
  <bbh>177</bbh>
  <cch>178</cch>
  <ddh>179</ddh>
  <eeh>180</eeh>
  <ffh>181</ffh>
  <ggh>182</ggh>
  <hhh>183</hhh>
  <iih>184</iih>
  <jjh>185</jjh>
  <kkh>186</kkh>
  <llh>187</llh>
  <mmh>188</mmh>
  <nnh>189</nnh>
  <ooh>190</ooh>
  <pph>191</pph>
  <qqh>192</qqh>
  <rrh>193</rrh>
  <ssh>194</ssh>
  <tth>195</tth>
  <uuh>196</uuh>
  <vvh>197</vvh>
  <wwh>198</wwh>
  <xxh>199</xxh>
  <yyh century="yes">200</yyh>
  <aai>201</aai>
  <bbi>202</bbi>
  <cci>203</cci>
  <ddi>204</ddi>
  <eei>205</eei>
  <ffi>206</ffi>
  <ggi>207</ggi>
  <hhi>208</hhi>
  <iii>209</iii>
  <jji>210</jji>
  <kki>211</kki>
  <lli>212</lli>
  <mmi>213</mmi>
  <nni>214</nni>
  <ooi>215</ooi>
  <ppi>216</ppi>
  <qqi>217</qqi>
  <rri>218</rri>
  <ssi>219</ssi>
  <tti>220</tti>
  <uui>221</uui>
  <vvi>222</vvi>
  <wwi>223</wwi>
  <xxi>224</xxi>
  <yyi>225</yyi>
  <aaj>226</aaj>
  <bbj>227</bbj>
  <ccj>228</ccj>
  <ddj>229</ddj>
  <eej>230</eej>
  <ffj>231</ffj>
  <ggj>232</ggj>
  <hhj>233</hhj>
  <iij>234</iij>
  <jjj>235</jjj>
  <kkj>236</kkj>
  <llj>237</llj>
  <mmj>238</mmj>
  <nnj>239</nnj>
  <ooj>240</ooj>
  <ppj>241</ppj>
  <qqj>242</qqj>
  <rrj>243</rrj>
  <ssj>244</ssj>
  <ttj>245</ttj>
  <uuj>246</uuj>
  <vvj>247</vvj>
  <wwj>248</wwj>
  <xxj>249</xxj>
  <yyj>250</yyj>
  <aak>251</aak>
  <bbk>252</bbk>
  <cck>253</cck>
  <ddk>254</ddk>
  <eek>255</eek>
  <ffk>256</ffk>
  <ggk>257</ggk>
  <hhk>258</hhk>
  <iik>259</iik>
  <jjk>260</jjk>
  <kkk>261</kkk>
  <llk>262</llk>
  <mmk>263</mmk>
  <nnk>264</nnk>
  <ook>265</ook>
  <ppk>266</ppk>
  <qqk>267</qqk>
  <rrk>268</rrk>
  <ssk>269</ssk>
  <ttk>270</ttk>
  <uuk>271</uuk>
  <vvk>272</vvk>
  <wwk>273</wwk>
  <xxk>274</xxk>
  <yyk>275</yyk>
  <aal>276</aal>
  <bbl>277</bbl>
  <ccl>278</ccl>
  <ddl>279</ddl>
  <eel>280</eel>
  <ffl>281</ffl>
  <ggl>282</ggl>
  <hhl>283</hhl>
  <iil>284</iil>
  <jjl>285</jjl>
  <kkl>286</kkl>
  <lll>287</lll>
  <mml>288</mml>
  <nnl>289</nnl>
  <ool>290</ool>
  <ppl>291</ppl>
  <qql>292</qql>
  <rrl>293</rrl>
  <ssl>294</ssl>
  <ttl>295</ttl>
  <uul>296</uul>
  <vvl>297</vvl>
  <wwl>298</wwl>
  <xxl>299</xxl>
  <yyl century="yes">300</yyl>
  <aam>301</aam>
  <bbm>302</bbm>
  <ccm>303</ccm>
  <ddm>304</ddm>
  <eem>305</eem>
  <ffm>306</ffm>
  <ggm>307</ggm>
  <hhm>308</hhm>
  <iim>309</iim>
  <jjm>310</jjm>
  <kkm>311</kkm>
  <llm>312</llm>
  <mmm>313</mmm>
  <nnm>314</nnm>
  <oom>315</oom>
  <ppm>316</ppm>
  <qqm>317</qqm>
  <rrm>318</rrm>
  <ssm>319</ssm>
  <ttm>320</ttm>
  <uum>321</uum>
  <vvm>322</vvm>
  <wwm>323</wwm>
  <xxm>324</xxm>
  <yym>325</yym>
  <aan>326</aan>
  <bbn>327</bbn>
  <ccn>328</ccn>
  <ddn>329</ddn>
  <een>330</een>
  <ffn>331</ffn>
  <ggn>332</ggn>
  <hhn>333</hhn>
  <iin>334</iin>
  <jjn>335</jjn>
  <kkn>336</kkn>
  <lln>337</lln>
  <mmn>338</mmn>
  <nnn>339</nnn>
  <oon>340</oon>
  <ppn>341</ppn>
  <qqn>342</qqn>
  <rrn>343</rrn>
  <ssn>344</ssn>
  <ttn>345</ttn>
  <uun>346</uun>
  <vvn>347</vvn>
  <wwn>348</wwn>
  <xxn>349</xxn>
  <yyn>350</yyn>
  <aao>351</aao>
  <bbo>352</bbo>
  <cco>353</cco>
  <ddo>354</ddo>
  <eeo>355</eeo>
  <ffo>356</ffo>
  <ggo>357</ggo>
  <hho>358</hho>
  <iio>359</iio>
  <jjo>360</jjo>
  <kko>361</kko>
  <llo>362</llo>
  <mmo>363</mmo>
  <nno>364</nno>
  <ooo>365</ooo>
  <ppo>366</ppo>
  <qqo>367</qqo>
  <rro>368</rro>
  <sso>369</sso>
  <tto>370</tto>
  <uuo>371</uuo>
  <vvo>372</vvo>
  <wwo>373</wwo>
  <xxo>374</xxo>
  <yyo>375</yyo>
  <aap>376</aap>
  <bbp>377</bbp>
  <ccp>378</ccp>
  <ddp>379</ddp>
  <eep>380</eep>
  <ffp>381</ffp>
  <ggp>382</ggp>
  <hhp>383</hhp>
  <iip>384</iip>
  <jjp>385</jjp>
  <kkp>386</kkp>
  <llp>387</llp>
  <mmp>388</mmp>
  <nnp>389</nnp>
  <oop>390</oop>
  <ppp>391</ppp>
  <qqp>392</qqp>
  <rrp>393</rrp>
  <ssp>394</ssp>
  <ttp>395</ttp>
  <uup>396</uup>
  <vvp>397</vvp>
  <wwp>398</wwp>
  <xxp>399</xxp>
  <yyp century="yes">400</yyp>
  <aaq>401</aaq>
  <bbq>402</bbq>
  <ccq>403</ccq>
  <ddq>404</ddq>
  <eeq>405</eeq>
  <ffq>406</ffq>
  <ggq>407</ggq>
  <hhq>408</hhq>
  <iiq>409</iiq>
  <jjq>410</jjq>
  <kkq>411</kkq>
  <llq>412</llq>
  <mmq>413</mmq>
  <nnq>414</nnq>
  <ooq>415</ooq>
  <ppq>416</ppq>
  <qqq>417</qqq>
  <rrq>418</rrq>
  <ssq>419</ssq>
  <ttq>420</ttq>
  <uuq>421</uuq>
  <vvq>422</vvq>
  <wwq>423</wwq>
  <xxq>424</xxq>
  <yyq>425</yyq>
  <aar>426</aar>
  <bbr>427</bbr>
  <ccr>428</ccr>
  <ddr>429</ddr>
  <eer>430</eer>
  <ffr>431</ffr>
  <ggr>432</ggr>
  <hhr>433</hhr>
  <iir>434</iir>
  <jjr>435</jjr>
  <kkr>436</kkr>
  <llr>437</llr>
  <mmr>438</mmr>
  <nnr>439</nnr>
  <oor>440</oor>
  <ppr>441</ppr>
  <qqr>442</qqr>
  <rrr>443</rrr>
  <ssr>444</ssr>
  <ttr>445</ttr>
  <uur>446</uur>
  <vvr>447</vvr>
  <wwr>448</wwr>
  <xxr>449</xxr>
  <yyr>450</yyr>
  <aas>451</aas>
  <bbs>452</bbs>
  <ccs>453</ccs>
  <dds>454</dds>
  <ees>455</ees>
  <ffs>456</ffs>
  <ggs>457</ggs>
  <hhs>458</hhs>
  <iis>459</iis>
  <jjs>460</jjs>
  <kks>461</kks>
  <lls>462</lls>
  <mms>463</mms>
  <nns>464</nns>
  <oos>465</oos>
  <pps>466</pps>
  <qqs>467</qqs>
  <rrs>468</rrs>
  <sss>469</sss>
  <tts>470</tts>
  <uus>471</uus>
  <vvs>472</vvs>
  <wws>473</wws>
  <xxs>474</xxs>
  <yys>475</yys>
  <aat>476</aat>
  <bbt>477</bbt>
  <cct>478</cct>
  <ddt>479</ddt>
  <eet>480</eet>
  <fft>481</fft>
  <ggt>482</ggt>
  <hht>483</hht>
  <iit>484</iit>
  <jjt>485</jjt>
  <kkt>486</kkt>
  <llt>487</llt>
  <mmt>488</mmt>
  <nnt>489</nnt>
  <oot>490</oot>
  <ppt>491</ppt>
  <qqt>492</qqt>
  <rrt>493</rrt>
  <sst>494</sst>
  <ttt>495</ttt>
  <uut>496</uut>
  <vvt>497</vvt>
  <wwt>498</wwt>
  <xxt>499</xxt>
  <yyt century="yes">500</yyt>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl16.xsl
  
  Index: impincl16.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: ImpIncl16 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.2 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test of importing a basic stylesheet involving matching. -->
  
  <xsl:import href="fragments\imp16all.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl17.xml
  
  Index: impincl17.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <a>
    <Definition>
      <LAMBDA id="i1"/>
      <LAMBDA id="i5"/>
    </Definition>
    <Annotation of="i1"><node id="i5"/></Annotation>
    <Annotation of="i5"/>
  </a>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/impincl17.xsl
  
  Index: impincl17.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: ImpIncl17 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.6.2 -->
    <!-- Purpose: Test of importing a stylesheet involving keys. -->
    <!-- Author: Claudio Sacerdoti Coen, revised by David Marston -->
  
  <!-- Uncomment either line below if keyspace fails when defined only in 
import. -->
  <!-- <xsl:key name="id" use="@id" match="LAMBDA"/> -->
  <!-- <xsl:key name="annid" use="@of" match="Annotation"/> -->
  
  <xsl:import href="fragments\imp17all.xsl"/>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/j.xsl
  
  Index: j.xsl
  ===================================================================
  <?xml version='1.0'?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:output method="html"/>
  
  <xsl:template match="two-tag">
   From Included stylesheet: <xsl:value-of select="self::node()"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/k.xsl
  
  Index: k.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="doc1" priority="1.0">
        <xsl:for-each select="*">
                <xsl:value-of select="."/>
        </xsl:for-each>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/l.xsl
  
  Index: l.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="tag">
        <pre><xsl:apply-templates/></pre>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/m.xsl
  
  Index: m.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  <xsl:include href="n.xsl"/>
  
  <xsl:param name="mParam" select="string('!From m!')"/>
  
  <xsl:template match="author">
    m-author:  
    <xsl:value-of select="."/>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/n.xsl
  
  Index: n.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  <xsl:import href="o.xsl"/>
  
  <xsl:param name="nParam" select="string('!From n!')"/>
  
  <xsl:template match="[EMAIL PROTECTED]'1']">
    n-contents of first chapter:  
    <xsl:value-of select="."/>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/o.xsl
  
  Index: o.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:include href="p.xsl"/>
  
  <xsl:param name="oParam" select="string('!From o!')"/>
  
  <xsl:template match="overview">
    o-overview: 
    <xsl:value-of select="."/>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/p.xsl
  
  Index: p.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:param name="pParam" select="string('!From p!')"/>
  
  <xsl:template match="publisher">
    p-publisher: 
    <xsl:value-of select="."/>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/q.xsl
  
  Index: q.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0"
                  xmlns:ped="http://www.ped.com"; 
                  xmlns:bdd="http://www.bdd.com";
                  xmlns:jad="http://www.jad.com";>
  
  <xsl:template match="nothing">
        This should never match
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/r.xsl
  
  Index: r.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
  <xsl:template match="title">
    <xsl:text>R-title shouldn't be used</xsl:text>
  </xsl:template>
  
  <xsl:template match="author">
    R-author:<xsl:value-of select="."/>
  </xsl:template> 
  
  <xsl:template match="chapter">
    <xsl:text>R-chapter shouldn't be used</xsl:text>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/impincl/b.xsl
  
  Index: b.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  <xsl:import href="d.xsl"/>
  
  <xsl:template match="author">
    B-author:  
    <xsl:apply-imports/><xsl:text>,</xsl:text>
  </xsl:template>
     
  </xsl:stylesheet>
  
  
  

Reply via email to