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 29112 - Incorrect map syntax used in the example in Section 3.4.3.1
Summary: Incorrect map syntax used in the example in Section 3.4.3.1
Status: RESOLVED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: XQuery 3.1 Requirements and Use Cases (show other bugs)
Version: Working drafts
Hardware: PC All
: P2 normal
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: 2015-09-04 14:06 UTC by O'Neil Delpratt
Modified: 2015-10-08 21:49 UTC (History)
0 users

See Also:


Attachments

Description O'Neil Delpratt 2015-09-04 14:06:31 UTC
In the example in Section 3.4.3.1 the incorrect syntax ':=' is used in the map. Where it should be just a colon (i.e. ':').

Snippet taken from section 3.4.3.1:

 'publisher' := 
       function($n as document-node()) as xs:string? { () } 

Should be:

 'publisher' : 
       function($n as document-node()) as xs:string? { () }
Comment 1 Jonathan Robie 2015-10-08 21:49:15 UTC
I just committed a fix.