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 29239 - Bad example in 3.5.3.6: use of focus in library package
Summary: Bad example in 3.5.3.6: use of focus in library package
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XSLT 3.0 (show other bugs)
Version: Last Call drafts
Hardware: PC All
: P2 minor
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-10-25 10:41 UTC by Michael Kay
Modified: 2015-10-30 15:38 UTC (History)
0 users

See Also:


Attachments

Description Michael Kay 2015-10-25 10:41:06 UTC
In 3.5.3.6 (in a Note) appears the example

<xsl:variable name="get-order" select="key('orders-key', ?, /)"/>

with the implication that this can be used as a global variable declaration in a library package. However, it will fail because it references the global context item (via "/").
Comment 1 Michael Kay 2015-10-30 12:35:48 UTC
The WG decided this problem could be classed as editorial, and asked the editor to fix it. This he has done.