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 28232 - [XSLT30] (editorial) @declare-modes or @declared-modes, both are present in the spec
Summary: [XSLT30] (editorial) @declare-modes or @declared-modes, both are present in t...
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Michael Kay
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-18 11:22 UTC by Abel Braaksma
Modified: 2015-10-29 09:50 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2015-03-18 11:22:42 UTC
The resolution of bug 26438 introduced the possibility to declare modes. However, in the signature of 3.6 (xsl:package) this is written as "declared-modes" and in the related text (3.6.4.1 Requiring Explicit Mode Declarations) it is written as "declare-modes".

Possibly just a typo, though I vaguely remember a discussion during the telcons of that time whether it should be active (declare-modes) or passive (declared-modes), but can't remember its outcome.

Note that the intro text of xsl:package links forward for other attributes not explained directly under 3.6, but not for this one.

Note: declared-modes: 6 hits, declare-modes: 1 hit.
Comment 1 Abel Braaksma 2015-04-16 17:02:05 UTC
Note, from the WG discussion today, this attribute doesn't appear in the schema for stylesheets.
Comment 2 Michael Kay 2015-04-16 22:11:08 UTC
The misspelt reference as "declare-modes" has been corrected, and the attribute has been added to the declaration of xsl:package in the schema for XSLT 3.0.