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

[Bug 28856] New: [FO31] serialize function error code

From: <bugzilla@jessica.w3.org>
Date: Fri, 26 Jun 2015 15:17:18 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28856-523@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28856

            Bug ID: 28856
           Summary: [FO31] serialize function error code
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Functions and Operators 3.1
          Assignee: mike@saxonica.com
          Reporter: debbie@saxonica.com
        QA Contact: public-qt-comments@w3.org

I think a new error code is needed for the case that the 2nd arg $params of
fn:serialize() is supplied as a map, but the map contains parameter values
which are not of the required type.

The error conditions section currently says:
'If any serialization error occurs, including the detection of an invalid value
for a serialization parameter, this results in the fn:serialize call failing
with a dynamic error.'
But I don't think this should cover the case above.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 26 June 2015 15:17:20 UTC

This archive was generated by hypermail 2.3.1 : Friday, 26 June 2015 15:17:21 UTC