This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26730 - [XT30TS] error-XPDY0002c
Summary: [XT30TS] error-XPDY0002c
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Recommendation
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Abel Braaksma
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
Depends on:
Reported: 2014-09-04 16:19 UTC by Tim Mills
Modified: 2014-09-05 08:48 UTC (History)
1 user (show)

See Also:


Description Tim Mills 2014-09-04 16:19:59 UTC
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"/>
         <spec value="XSLT20+"/>
         <stylesheet file="error-XPDY0002c.xsl"/>
         <error code="XPDY0002"/>

<?xml version="1.0"?> 

<xsl:stylesheet xmlns:xsl="" version="2.0">

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

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

Comment 1 Michael Kay 2014-09-04 17:21:33 UTC
Thanks, fixed.
Comment 2 Tim Mills 2014-09-05 08:48:15 UTC
Confirmed fixed.  Thanks.