cvs commit: xml-xalan/test/tests/conf/boolean boolean59.xsl boolean01.xsl boolean02.xml boolean02.xsl boolean03.xml boolean03.xsl boolean04.xml boolean04.xsl boolean05.xml boolean05.xsl boolean06.xml boolean06.xsl boolean07.xml boolean07.xsl boolean08.xml boolean08.xsl boolean09.xml boolean09.xsl boolean10.xml boolean10.xsl boolean11.xml boolean11.xsl boolean12.xml boolean12.xsl boolean13.xml boolean13.xsl boolean14.xml boolean14.xsl boolean15.xml boolean15.xsl boolean16.xml boolean16.xsl boolean17.xml boolean17.xsl boolean18.xml boolean18.xsl boolean19.xml boolean19.xsl boolean20.xml boolean20.xsl boolean21.xml boolean21.xsl boolean22.xml boolean22.xsl boolean23.xml boolean23.xsl boolean24.xml boolean24.xsl boolean25.xml boolean25.xsl boolean26.xml boolean26.xsl boolean27.xml boolean27.xsl boolean28.xml boolean28.xsl boolean29.xml boolean29.xsl boolean30.xml boolean30.xsl boolean31.xml boolean31.xsl boolean32.xml boolean32.xsl boolean33.xml boolean33.xsl boolean34.xml boolean34.xsl boolean35.xml boolean35.xsl boolean36.xml boolean36.xsl boolean37.xml boolean37.xsl boolean38.xml boolean38.xsl boolean39.xml boolean39.xsl boolean40.xml boolean40.xsl boolean41.xml boolean41.xsl boolean42.xml boolean42.xsl boolean43.xml boolean43.xsl boolean44.xml boolean44.xsl boolean45.xml boolean45.xsl boolean46.xml boolean46.xsl boolean47.xml boolean47.xsl boolean48.xml boolean48.xsl boolean49.xml boolean49.xsl boolean50.xml boolean50.xsl boolean51.xml boolean51.xsl boolean52.xml boolean52.xsl boolean53.xml boolean53.xsl boolean54.xml boolean54.xsl boolean55.xml boolean55.xsl boolean56.xml boolean56.xsl boolean57.xml boolean57.xsl boolean58.xml boolean58.xsl boolean59.xml boolean01.xml

16 Dec 2000 02:11:23 -0000

dmarston    00/12/15 18:11:23

  Added:       test/tests/conf/boolean boolean59.xsl boolean01.xsl
                        boolean02.xml boolean02.xsl boolean03.xml
                        boolean03.xsl boolean04.xml boolean04.xsl
                        boolean05.xml boolean05.xsl boolean06.xml
                        boolean06.xsl boolean07.xml boolean07.xsl
                        boolean08.xml boolean08.xsl boolean09.xml
                        boolean09.xsl boolean10.xml boolean10.xsl
                        boolean11.xml boolean11.xsl boolean12.xml
                        boolean12.xsl boolean13.xml boolean13.xsl
                        boolean14.xml boolean14.xsl boolean15.xml
                        boolean15.xsl boolean16.xml boolean16.xsl
                        boolean17.xml boolean17.xsl boolean18.xml
                        boolean18.xsl boolean19.xml boolean19.xsl
                        boolean20.xml boolean20.xsl boolean21.xml
                        boolean21.xsl boolean22.xml boolean22.xsl
                        boolean23.xml boolean23.xsl boolean24.xml
                        boolean24.xsl boolean25.xml boolean25.xsl
                        boolean26.xml boolean26.xsl boolean27.xml
                        boolean27.xsl boolean28.xml boolean28.xsl
                        boolean29.xml boolean29.xsl boolean30.xml
                        boolean30.xsl boolean31.xml boolean31.xsl
                        boolean32.xml boolean32.xsl boolean33.xml
                        boolean33.xsl boolean34.xml boolean34.xsl
                        boolean35.xml boolean35.xsl boolean36.xml
                        boolean36.xsl boolean37.xml boolean37.xsl
                        boolean38.xml boolean38.xsl boolean39.xml
                        boolean39.xsl boolean40.xml boolean40.xsl
                        boolean41.xml boolean41.xsl boolean42.xml
                        boolean42.xsl boolean43.xml boolean43.xsl
                        boolean44.xml boolean44.xsl boolean45.xml
                        boolean45.xsl boolean46.xml boolean46.xsl
                        boolean47.xml boolean47.xsl boolean48.xml
                        boolean48.xsl boolean49.xml boolean49.xsl
                        boolean50.xml boolean50.xsl boolean51.xml
                        boolean51.xsl boolean52.xml boolean52.xsl
                        boolean53.xml boolean53.xsl boolean54.xml
                        boolean54.xsl boolean55.xml boolean55.xsl
                        boolean56.xml boolean56.xsl boolean57.xml
                        boolean57.xsl boolean58.xml boolean58.xsl
                        boolean59.xml boolean01.xml
  Log:
  Copy of tests in Lotus/IBM repository
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/boolean/boolean59.xsl
  
  Index: boolean59.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: bool59 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.2 String Functions -->
    <!-- Purpose: Test =, !=, and not, comparing node-set to string, where 
node-set is empty. -->
  
  <xsl:template match="doc">
    <out>
      <xsl:variable name="x" select="avj//k"/><!-- empty -->
      <xsl:value-of select="$x='foo'"/>
      <xsl:value-of select="not($x='foo')"/><xsl:text> </xsl:text>
      <xsl:value-of select="$x!='foo'"/>
      <xsl:value-of select="not($x!='foo')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean01.xsl
  
  Index: boolean01.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL01 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of true() -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true()"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean02.xml
  
  Index: boolean02.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean02.xsl
  
  Index: boolean02.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL02 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "and" operator with both values true -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true() and true()"/><xsl:text>,</xsl:text>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean03.xml
  
  Index: boolean03.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc></doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean03.xsl
  
  Index: boolean03.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL03 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "or" operator with two true values -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true() or true()"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean04.xml
  
  Index: boolean04.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean04.xsl
  
  Index: boolean04.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL04 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator with true value. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="not(true())"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean05.xml
  
  Index: boolean05.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean05.xsl
  
  Index: boolean05.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL05 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean() function - conversion of empty string. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="boolean('')"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean06.xml
  
  Index: boolean06.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean06.xsl
  
  Index: boolean06.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL06 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">" operator with false expected value. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1>2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean07.xml
  
  Index: boolean07.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean07.xsl
  
  Index: boolean07.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL07 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">=" operators with expected false result. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1>=2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean08.xml
  
  Index: boolean08.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  <p xml:lang="en"/>
  <p xml:lang="EN"/>
  <p xml:lang="en-gb"/>
  <p xml:lang="EN-GB"/>
  <p xml:lang="TH"/>
  <p/>
  <span xml:lang="en">
  <p/>
  </span>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean08.xsl
  
  Index: boolean08.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL08 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of lang() function -->
  
  <xsl:template match="/">
    <out><xsl:apply-templates select="doc/p"/></out>
  </xsl:template>
  
  <xsl:template match="p">
    <xsl:value-of select="lang('en')"/><xsl:text>, </xsl:text>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean09.xml
  
  Index: boolean09.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean09.xsl
  
  Index: boolean09.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL09 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of false() function -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false()"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean10.xml
  
  Index: boolean10.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean10.xsl
  
  Index: boolean10.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL10 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of the '=' operator for true. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1=1"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean11.xml
  
  Index: boolean11.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean11.xsl
  
  Index: boolean11.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL11 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator for false. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1=2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean12.xml
  
  Index: boolean12.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean12.xsl
  
  Index: boolean12.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL12 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator on two numbers, one having decimal point 
and zeroes after -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1 = 1.00"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean13.xml
  
  Index: boolean13.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean13.xsl
  
  Index: boolean13.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL13 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator with positive and negative zero. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="0 = -0"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean14.xml
  
  Index: boolean14.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean14.xsl
  
  Index: boolean14.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL14 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator with one number with leading zero, one 
not. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="1 = '001'"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean15.xml
  
  Index: boolean15.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean15.xsl
  
  Index: boolean15.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL15 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator, true value compared against a non-empty 
string. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true()='0'"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean16.xml
  
  Index: boolean16.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean16.xsl
  
  Index: boolean16.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL16 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator, false value compared against an empty 
string. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false()=''"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean17.xml
  
  Index: boolean17.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean17.xsl
  
  Index: boolean17.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL17 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator, true value compared against a non-zero 
number. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true()=2"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean18.xml
  
  Index: boolean18.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean18.xsl
  
  Index: boolean18.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL18 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of '=' operator, false value compared against zero. -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false()=0"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean19.xml
  
  Index: boolean19.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean19.xsl
  
  Index: boolean19.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL19 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "and" operator with both values false -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false() and false()"/><xsl:text>,</xsl:text>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean20.xml
  
  Index: boolean20.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean20.xsl
  
  Index: boolean20.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL20 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 Booleans -->
    <!-- Purpose: Test of boolean "and" operator with two strings;
         strings are evaluated to True if there length > 1.    -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="'foo' and 'fop'"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean21.xml
  
  Index: boolean21.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean21.xsl
  
  Index: boolean21.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL21 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "and" operator with one value true and one 
value false -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="true() and false()"/><xsl:text>,</xsl:text>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean22.xml
  
  Index: boolean22.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean22.xsl
  
  Index: boolean22.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL22 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "and" operator with one value false and one 
value true -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false() and true()"/><xsl:text>,</xsl:text>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean23.xml
  
  Index: boolean23.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean23.xsl
  
  Index: boolean23.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL23 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "and" operator with two strings that look 
like numbers -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="'1' and '0'"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean24.xml
  
  Index: boolean24.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean24.xsl
  
  Index: boolean24.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL24 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "or" operator with true first, then false -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="true() or false()"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean25.xml
  
  Index: boolean25.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean25.xsl
  
  Index: boolean25.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL25 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "or" operator, false first, then true -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="false() or true()"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean26.xml
  
  Index: boolean26.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean26.xsl
  
  Index: boolean26.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL26 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "or" operator with two false values -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="false() or false()"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean27.xml
  
  Index: boolean27.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean27.xsl
  
  Index: boolean27.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL27 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "or" operator, numeric vs. empty string -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="0 or ''"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean28.xml
  
  Index: boolean28.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean28.xsl
  
  Index: boolean28.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL28 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator on a false -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="not(false())"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean29.xml
  
  Index: boolean29.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean29.xsl
  
  Index: boolean29.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL29 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator on a true expression -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="not(false() = false())"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean30.xml
  
  Index: boolean30.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean30.xsl
  
  Index: boolean30.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL30 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator on a false expression -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="not(true() = false())"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean31.xml
  
  Index: boolean31.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean31.xsl
  
  Index: boolean31.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL31 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator on an empty string -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="not('')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean32.xml
  
  Index: boolean32.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean32.xsl
  
  Index: boolean32.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL32 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of boolean "not" operator on a string -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="not('0')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean33.xml
  
  Index: boolean33.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean33.xsl
  
  Index: boolean33.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL33 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a non-empty string to 
true -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean('0')"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean34.xml
  
  Index: boolean34.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean34.xsl
  
  Index: boolean34.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL34 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a zero to false -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean35.xml
  
  Index: boolean35.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean35.xsl
  
  Index: boolean35.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL35 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a -0 to false -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(-0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean36.xml
  
  Index: boolean36.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean36.xsl
  
  Index: boolean36.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL36 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a non-zero number to 
true -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(1)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean37.xml
  
  Index: boolean37.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean37.xsl
  
  Index: boolean37.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL37 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a problem expression 
to true -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(1 div 0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean38.xml
  
  Index: boolean38.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean38.xsl
  
  Index: boolean38.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL38 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: ??? -->
    <!-- Purpose: Display a problem expression -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="0 div 0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean39.xml
  
  Index: boolean39.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean39.xsl
  
  Index: boolean39.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL39 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a problem expression 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(0 div 0)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean40.xml
  
  Index: boolean40.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean40.xsl
  
  Index: boolean40.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL40 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a node-set to true -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(doc)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean41.xml
  
  Index: boolean41.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean41.xsl
  
  Index: boolean41.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL41 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting an empty node-set to 
false -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean(foo)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean42.xml
  
  Index: boolean42.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean42.xsl
  
  Index: boolean42.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL42 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting a result tree fragment 
-->
  
  <xsl:variable name="ResultTreeFragTest">
    <xsl:value-of select="doc"/>
  </xsl:variable>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean($ResultTreeFragTest)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean43.xml
  
  Index: boolean43.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean43.xsl
  
  Index: boolean43.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL43 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 4.3 -->
    <!-- Purpose: Test of boolean() function, converting an empty result tree 
fragment -->
  
  <xsl:variable name="emptyResultTreeFragTest">
    <xsl:value-of select="foo"/>
  </xsl:variable>
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="boolean($emptyResultTreeFragTest)"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean44.xml
  
  Index: boolean44.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean44.xsl
  
  Index: boolean44.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL44 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1>1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean45.xml
  
  Index: boolean45.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean45.xsl
  
  Index: boolean45.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL45 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2>1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean46.xml
  
  Index: boolean46.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean46.xsl
  
  Index: boolean46.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL46 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1&#60;2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean47.xml
  
  Index: boolean47.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean47.xsl
  
  Index: boolean47.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL47 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1&#60;1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean48.xml
  
  Index: boolean48.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean48.xsl
  
  Index: boolean48.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL48 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2&#60;1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean49.xml
  
  Index: boolean49.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean49.xsl
  
  Index: boolean49.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL49 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="'2'>'1'"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean50.xml
  
  Index: boolean50.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean50.xsl
  
  Index: boolean50.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL50 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="0 > -0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean51.xml
  
  Index: boolean51.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean51.xsl
  
  Index: boolean51.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL51 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<=" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2>=2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean52.xml
  
  Index: boolean52.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean52.xsl
  
  Index: boolean52.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL52 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of ">=" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2>=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean53.xml
  
  Index: boolean53.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean53.xsl
  
  Index: boolean53.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL53 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<=" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1&#60;=2"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean54.xml
  
  Index: boolean54.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean54.xsl
  
  Index: boolean54.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL54 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<=" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="1&#60;=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean55.xml
  
  Index: boolean55.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    test
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean55.xsl
  
  Index: boolean55.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL55 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19990922 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test of "<=" operator -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="2&#60;=1"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean56.xml
  
  Index: boolean56.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean56.xsl
  
  Index: boolean56.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL56 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991008 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test that "and" doesn't bother with right operand if left is 
false -->
  
  <xsl:template match="/">
    <out>
      <xsl:value-of select="false() and 1 div 0"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean57.xml
  
  Index: boolean57.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc/>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean57.xsl
  
  Index: boolean57.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: BOOL57 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991008 -->
    <!-- Section: 3.4 -->
    <!-- Purpose: Test that "or" doesn't evaluate right operand if left is true 
-->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="true() or 1 div 0"/>
    </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean58.xml
  
  Index: boolean58.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <av>
      <a>
        <b>b</b>
        <c>c</c>
        <d>d</d>
        <e>e</e>
      </a>
      <v>
        <w>w</w>
        <x>x</x>
        <y>y</y>
        <z>z</z>
      </v>
      <a>
        <b>fe</b>
        <c>fi</c>
        <d>fo</d>
        <e>fu</e>
      </a>
      <v>
        <w>fee</w>
        <x>fii</x>
        <y>foo</y>
        <z>fom</z>
      </v>
      <j>foo</j>
      <j>foo</j>
      <j>foo</j>
      <j>foo</j>
    </av>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean58.xsl
  
  Index: boolean58.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  
    <!-- FileName: bool58 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 4.2 String Functions  -->
    <!-- Purpose: If $x is bound to a node-set, then $x="foo" does not 
         mean the same as not($x!="foo"): the former is true if and only 
         if some node in $x has the string-value foo; the latter is true if 
         and only if all nodes in $x have the string-value foo. -->
  
  <xsl:template match="doc">
        <out>
  
          <xsl:variable name="x" select="av//*"/>
          <xsl:value-of select="$x='foo'"/>
          <xsl:value-of select="not($x!='foo')"/><xsl:text> </xsl:text>
  
          <xsl:variable name="y" select="av//j"/>
          <xsl:value-of select="$y='foo'"/>
          <xsl:value-of select="not($y!='foo')"/>
  
        </out>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean59.xml
  
  Index: boolean59.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <doc>
    <avj>
      <a>
        <b>fe</b>
        <c>fi</c>
        <d>fo</d>
        <e>fu</e>
      </a>
      <v>
        <w>fee</w>
        <x>fii</x>
        <y>foo</y>
        <z>fom</z>
      </v>
      <j>foo</j>
      <j>foo</j>
      <j>foo</j>
      <j>foo</j>
    </avj>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/boolean/boolean01.xml
  
  Index: boolean01.xml
  ===================================================================
  <?xml version="1.0"?> 
  <doc></doc>
  
  

Reply via email to