dmarston    02/01/16 15:15:14

  Added:       test/tests/conferr/selecterr selecterr24.xsl selecterr24.xml
  Log:
  New cases to confirm bugs more easily.
  
  Revision  Changes    Path
  1.1                  xml-xalan/test/tests/conferr/selecterr/selecterr24.xsl
  
  Index: selecterr24.xsl
  ===================================================================
  <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
    version="1.0">
  
    <!-- FileName: SELECTerr24 -->
    <!-- Document: http://www.w3.org/TR/xpath -->
    <!-- DocVersion: 19991116 -->
    <!-- Section: 2.4 -->
    <!-- Creator: David Marston -->
    <!-- Purpose: Test odd syntax: predicate right after .. (for parent). -->
    <!-- ExpectedException: unknown axis -->
    <!-- ExpectedException: need / or // to separate steps -->
    <!-- ExpectedException: unexpected token -->
  
  <xsl:output method="xml" encoding="UTF-8"/>
  
  <xsl:template match="/">
    <out>
      <xsl:for-each select="//center">
        <xsl:apply-templates select="..[near-north]"/>
      </xsl:for-each>
    </out>
  </xsl:template>
  
  <xsl:template match="*">
    <xsl:value-of select="name(.)"/>
  </xsl:template>
  
  </xsl:stylesheet>
  
  
  
  1.1                  xml-xalan/test/tests/conferr/selecterr/selecterr24.xml
  
  Index: selecterr24.xml
  ===================================================================
  <?xml version="1.0"?>
  <far-north>
   <north>
    <near-north>
     <far-west/>
     <west/>
     <near-west/>
     <center/>
     <near-east/>
     <east/>
     <far-east/>
    </near-north>
   </north>
  </far-north>
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to