W3C home > Mailing lists > Public > public-qt-comments@w3.org > February 2015

[Bug 28058] New: fn:parse-json: Handling unknown keys

From: <bugzilla@jessica.w3.org>
Date: Thu, 19 Feb 2015 12:51:32 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28058-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 28058
           Summary: fn:parse-json: Handling unknown keys
           Product: XPath / XQuery / XSLT
           Version: Working drafts
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: christian.gruen@gmail.com
        QA Contact: public-qt-comments@w3.org

The current F&O spec states in 17.5.1 that "Implementations must ignore any
entries in the map whose keys are not defined in this specification, unless the
key has a specific ·implementation-defined· meaning.".

I would like to see an error raised instead, as I believe it would be more
user-friendly to reject unknown keys. We are already raising errors for unknown
values, so maybe we can use the same error code?

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Thursday, 19 February 2015 12:51:35 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 February 2015 12:51:35 UTC