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 28653 - [XT30TS] error-1260d
Summary: [XT30TS] error-1260d
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Last Call drafts
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-18 13:03 UTC by Tim Mills
Modified: 2015-05-31 17:38 UTC (History)
1 user (show)

See Also:


Attachments

Description Tim Mills 2015-05-18 13:03:47 UTC
In:
        <xsl:number level="any" count="key('nokey', 12)/item"/>

'count' is a pattern.

The specification says:

"A dynamic error or type error that occurs during the evaluation of a pattern against a particular item has the effect that the item being tested is treated as not matching the pattern. The error does not cause the transformation to fail, and cannot be caught by a try/catch expression surrounding the instruction that causes the pattern to be evaluated."

so the expected dynamic error in fn:key need not be reported.
Comment 1 Abel Braaksma 2015-05-31 17:38:51 UTC
Thanks. The XTDE1260 error may be detected as a static error. So I have changed the test such that it allows both an error and non-error outcome.

Changed submitted to repository.