[Bug 26558] New: Constructing maps: XQDY0136 → XPTY0004

https://www.w3.org/Bugs/Public/show_bug.cgi?id=26558

            Bug ID: 26558
           Summary: Constructing maps: XQDY0136 → XPTY0004
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3.1
          Assignee: jonathan.robie@gmail.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org

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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Tuesday, 12 August 2014 14:42:27 UTC