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

cvs commit: xml-xalan/test/tests/conf/processorinfo/err processorinfoerr05.xsl processorinfoerr01.xsl processorinfoerr02.xml processorinfoerr02.xsl processorinfoerr03.xml processorinfoerr03.xsl processorinfoerr04.xml processorinfoerr04.xsl processorinfoerr05.xml processorinfoerr01.xml

dmarston    00/12/15 14:29:53

  Added:       test/tests/conf/processorinfo/err processorinfoerr05.xsl
                        processorinfoerr01.xsl processorinfoerr02.xml
                        processorinfoerr02.xsl processorinfoerr03.xml
                        processorinfoerr03.xsl processorinfoerr04.xml
                        processorinfoerr04.xsl processorinfoerr05.xml
                        processorinfoerr01.xml
  Log:
  Copy of tests in Lotus/IBM repository
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr05.xsl
  
  Index: processorinfoerr05.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: PROPerr05 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 -->
    <!-- Purpose: Test too many arguments to system-property -->
    <!-- ExpectedException: system-property requires one argument -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="system-property('xsl:version','xsl:vendor')"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr01.xsl
  
  Index: processorinfoerr01.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: PROPerr01 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 -->
    <!-- Purpose: Test bad argument to system-property -->
    <!-- ExpectedException: property not supported -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="system-property('xsl:if')"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr02.xml
  
  Index: processorinfoerr02.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr02.xsl
  
  Index: processorinfoerr02.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: PROPerr02 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 -->
    <!-- Purpose: Test bad argument to system-property, no namespace -->
    <!-- ExpectedException: property not supported -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="system-property('size')"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr03.xml
  
  Index: processorinfoerr03.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr03.xsl
  
  Index: processorinfoerr03.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
                  xmlns:lotus="http://www.lotus.com">
  
    <!-- FileName: PROPerr03 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 -->
    <!-- Purpose: Test bad argument to system-property, different namespace -->
    <!-- ExpectedException: property not supported -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="system-property('lotus:version')"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr04.xml
  
  Index: processorinfoerr04.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr04.xsl
  
  Index: processorinfoerr04.xsl
  ===================================================================
  <?xml version="1.0"?> 
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: PROPerr04 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 12.4 -->
    <!-- Purpose: Test too few arguments to system-property -->
    <!-- ExpectedException: system-property requires one argument -->
  
  <xsl:template match="doc">
    <out>
      <xsl:value-of select="system-property()"/>
    </out>
  </xsl:template>
   
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr05.xml
  
  Index: processorinfoerr05.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conf/processorinfo/err/processorinfoerr01.xml
  
  Index: processorinfoerr01.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
  </doc>