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 29826 - [xslt30ts] mode-1702a
Summary: [xslt30ts] mode-1702a
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 Test Suite (show other bugs)
Version: Candidate Recommendation
Hardware: PC All
: 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: 2016-09-19 13:44 UTC by Michael Kay
Modified: 2016-11-03 15:58 UTC (History)
1 user (show)

See Also:


Attachments

Description Michael Kay 2016-09-19 13:44:15 UTC
This test expects error XTDE0045. I don't think it should expect an error.

The error condition reads: If the invocation of the stylesheet specifies an initial mode that does not match the expanded QName in the name attribute of any non-private mode in the top-level package, then a dynamic error occurs if either (a) the effective value of declared-modes on the top-level package is yes, or (b) the initial mode is not the unnamed mode and does not match the expanded QName in the mode attribute of any template rule defined in the stylesheet.

In test mode-1702a, condition (a) is false because declared-modes="no", and condition (b) is false because the initial mode is the unnamed mode.
Comment 1 Abel Braaksma 2016-11-03 15:58:56 UTC
I have changed the test to use an implicit named mode.