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 29742 - [FO31] (editorial) typo in layout of example in 17.1.5 map:contains
Summary: [FO31] (editorial) typo in layout of example in 17.1.5 map:contains
Status: CLOSED FIXED
Alias: None
Product: XPath / XQuery / XSLT
Classification: Unclassified
Component: Functions and Operators 3.1 (show other bugs)
Version: Member-only Editors Drafts
Hardware: PC Windows NT
: P2 editorial
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: 2016-07-19 16:21 UTC by Abel Braaksma
Modified: 2016-12-16 19:55 UTC (History)
0 users

See Also:


Attachments

Description Abel Braaksma 2016-07-19 16:21:31 UTC
The example under the map:contains function reads:

let $week := map{0:"Sonntag", 1:"Montag", 2:"Dienstag",             3:"Mittwoch", 4:"Donnerstag", 5:"Freitag", 6:"Samstag"}

Note the excessive spaces between "3:". Not an error, seems like it was supposed to be a newline(?).
Comment 1 Abel Braaksma 2016-07-19 16:23:22 UTC
Sections 17.1.6 and 17.1.9 have the same layout anomaly. Other examples that use the same code snippet do not have this problem.
Comment 2 Michael Kay 2016-07-19 16:33:09 UTC
Fixed (hopefully) in the FO31 and XT30 specs. Leaving open until I rebuild and check the rendition.
Comment 3 Michael Kay 2016-09-06 22:39:32 UTC
Confirmed fixed.