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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@jessica.w3.org
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: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

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.
Reply | Threaded
Open this post in threaded view
|

[Bug 26558] Constructing maps: XQDY0136 → XPTY0004

Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26558

--- Comment #1 from Jonathan Robie <[hidden email]> ---
That sounds good to me.  Unless someone objects, I will make this change.

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26558] Constructing maps: XQDY0136 → XPTY0004

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26558

Jonathan Robie <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Jonathan Robie <[hidden email]> ---
The Working Group agreed to this change.

I will also delete the error code err:XQDY0136

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

Reply | Threaded
Open this post in threaded view
|

[Bug 26558] Constructing maps: XQDY0136 → XPTY0004

Bugzilla from bugzilla@jessica.w3.org
In reply to this post by Bugzilla from bugzilla@jessica.w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26558

--- Comment #3 from Jonathan Robie <[hidden email]> ---
Fix is now checked in to the XML, and will appear in the next HTML build.

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