[Bug 26730] New: [XT30TS] error-XPDY0002c

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26730

            Bug ID: 26730
           Summary: [XT30TS]  error-XPDY0002c
           Product: XPath / XQuery / XSLT
           Version: Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSLT 3.0 Test Suite
          Assignee: abel.online@xs4all.nl
          Reporter: tim@cbcl.co.uk
        QA Contact: public-qt-comments@w3.org

The test case stylesheet error-XPDY0002c.xsl doesn't seem to match up with the
intent of the test.

   <test-case name="error-XPDY0002c">
      <description>error: context item is not set on entry to a stylesheet
function. Was error-code-025.</description>
      <created by="Michael Kay" on="2012-11-07"/>
      <environment ref="error001"/>
      <dependencies>
         <spec value="XSLT20+"/>
      </dependencies>
      <test>
         <stylesheet file="error-XPDY0002c.xsl"/>
      </test>
      <result>
         <error code="XPDY0002"/>
      </result>
   </test-case>


<?xml version="1.0"?> 

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">

<!-- Error: XPath syntax -->
<?spec xpath#errors?><?error XPST0003?>

  <xsl:template match="doc">
    <out>
      <xsl:value-of select="@undeclared:*"/> 
      <xsl:message>Error not detected!</xsl:message>
    </out>
  </xsl:template>

</xsl:stylesheet>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 4 September 2014 16:20:00 UTC