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 27014 - [xslt 3.0] xsl:context-item as="..." use="prohibited"
Summary: [xslt 3.0] xsl:context-item as="..." use="prohibited"
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
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: 2014-10-09 22:49 UTC by Michael Kay
Modified: 2014-10-24 16:08 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2014-10-09 22:49:19 UTC
It should surely be a static error to specify the "as" attribute on xsl:context-item when use="prohibited" is specified - it doesn't make sense to say what the type of the context item must be, and then say it must be absent.
Comment 1 Michael Kay 2014-10-13 09:14:44 UTC
Applies equally to xsl:global-context-item
Comment 2 Michael Kay 2014-10-24 16:08:47 UTC
The WG agreed to make it an error if use="prohibited" and exists(@as).

The change has been made.