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

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

            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