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

[Bug 24511] Function item and maps, error situations or side effects

From: <bugzilla@jessica.w3.org>
Date: Wed, 05 Feb 2014 12:07:18 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-24511-523-8bhSSGnuqF@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24511

--- Comment #2 from Michael Kay <mike@saxonica.com> ---
>Given that a function with a signature function(xs:anyAtomicType) as item()* matches any map

It's not clear what you are saying here.

It's true that where the required type is function(xs:anyAtomicType) as
item()*, you can supply a map.

It's not true that where the required type is map(*), you can supply any
instance of function(xs:anyAtomicType) as item()*.

>I mean, one could assign concat#1 to a map

No, if the required type is map(*), then you can't pass concat#1 as the value.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 5 February 2014 12:07:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:45 UTC