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 30050 - Minor "syntax" error in XPath 3.1 Proposed Rec 17.01.2017
Summary: Minor "syntax" error in XPath 3.1 Proposed Rec 17.01.2017
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XPath 3.1 (show other bugs)
Version: Proposed Recommendation
Hardware: All All
: P2 editorial
Target Milestone: ---
Assignee: Jonathan Robie
QA Contact: Mailing list for public feedback on specs from XSL and XML Query WGs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-20 16:13 UTC by Todd Ditchendorf
Modified: 2017-02-07 18:27 UTC (History)
3 users (show)

See Also:


Attachments

Description Todd Ditchendorf 2017-01-20 16:13:58 UTC
In the section "3.11.1.2 Map Lookup using Function Call Syntax" (https://www.w3.org/TR/2017/PR-xpath-31-20170117/#id-map-lookup), there is a minor "syntax" error in the following explanatory text:

> If $map is a map and $K is a key, then $map($key) is equivalent to map:get($map, $key).

I believe `$K` above should be replaced with `$key`. Or perhaps `$key` should be replaced with `$K`.
Comment 1 Josh Spiegel 2017-01-20 16:20:25 UTC
Good catch, thanks.
Comment 2 Andrew Coleman 2017-02-06 09:01:36 UTC
ACTION-666-02 - Josh to address editorial bugs 30051, 30050