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

[Bug 28063] New: [QT3] map/put/put-003

From: <bugzilla@jessica.w3.org>
Date: Fri, 20 Feb 2015 15:09:05 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-28063-523@http.www.w3.org/Bugs/Public/>

            Bug ID: 28063
           Summary: [QT3] map/put/put-003
           Product: XPath / XQuery / XSLT
           Version: Candidate Recommendation
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XQuery 3 & XPath 3 Test Suite
          Assignee: oneil@saxonica.com
          Reporter: mike@saxonica.com
        QA Contact: public-qt-comments@w3.org

Test case map/put/put-003 returns a map and asserts:

<assert-type>function(xs:string) as xs:integer*</assert-type>

But the spec says in "The function signature of the map, treated as a
function, is always function(xs:anyAtomicType) as item()*, regardless of the
actual types of the keys and values in the map. This means that a function item
type with a more specific return type, such as function(xs:anyAtomicType) as
xs:integer, does not match a map in the sense required to satisfy the instance
of operator."

So this assertion should be false.

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 20 February 2015 15:09:14 UTC

This archive was generated by hypermail 2.3.1 : Friday, 20 February 2015 15:09:15 UTC