You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by dm...@apache.org on 2002/01/17 00:14:39 UTC

cvs commit: xml-xalan/test/tests/conferr/matcherr matcherr13.xsl matcherr12.xsl matcherr13.xml matcherr12.xml

dmarston    02/01/16 15:14:39

  Added:       test/tests/conferr/matcherr matcherr13.xsl matcherr12.xsl
                        matcherr13.xml matcherr12.xml
  Log:
  New cases to confirm bugs more easily.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conferr/matcherr/matcherr13.xsl
  
  Index: matcherr13.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: MATCHerr12 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 5.2 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test unbalanced '|' at start of match pattern -->
    <!-- ExpectedException: Unexpected token in pattern -->
  
  <xsl:template match="defaultcontent">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  <xsl:template match="|section2">
    <xsl:value-of select="name(.)"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conferr/matcherr/matcherr12.xsl
  
  Index: matcherr12.xsl
  ===================================================================
  <?xml version="1.0"?>
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  
    <!-- FileName: MATCHerr12 -->
    <!-- Document: http://www.w3.org/TR/xslt -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 5.2 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test unbalanced '|' at end of match pattern -->
    <!-- ExpectedException: Unexpected token in pattern -->
  
  <xsl:template match="defaultcontent">
    <out>
      <xsl:apply-templates/>
    </out>
  </xsl:template>
  
  <xsl:template match="section1|">
    <xsl:value-of select="name(.)"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  1.1                  xml-xalan/test/tests/conferr/matcherr/matcherr13.xml
  
  Index: matcherr13.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <defaultcontent>
      <section1/>
      <section2/>
    </defaultcontent>
  </doc>
  
  
  1.1                  xml-xalan/test/tests/conferr/matcherr/matcherr12.xml
  
  Index: matcherr12.xml
  ===================================================================
  <?xml version="1.0"?>
  <doc>
    <defaultcontent>
      <section1/>
      <section2/>
    </defaultcontent>
  </doc>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org