This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Currently, XQDY0136 is raised if a map key expression is not a single value: map { ('a','b'): () } I would suggest to stick with the existing error code XPTY0004, similar to other expressions that atomize their input. Examples: element { ('a','b') } { () } [1, 2] + 3
That sounds good to me. Unless someone objects, I will make this change.
The Working Group agreed to this change. I will also delete the error code err:XQDY0136
Fix is now checked in to the XML, and will appear in the next HTML build.
Confirmed that this is fixed in the current draft.