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

[Bug 29080] array:members

From: <bugzilla@jessica.w3.org>
Date: Tue, 14 Jun 2016 14:29:40 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29080-523-HZtbROPVpL@http.www.w3.org/Bugs/Public/>

--- Comment #11 from Josh Spiegel <josh.spiegel@oracle.com> ---
> I think this currently evaluates to an error, because, unless I misunderstand > the signature or your code, fn:avg#1 does not take an array as its argument 
> (which in itself may be considered surprising).

This is not correct.  The signature of fn:avg is:

  fn:avg($arg as xs:anyAtomicType*) as xs:anyAtomicType?

The call to this function will implicitly atomize the input and thus would
flatten array. 


   <test-case name="fn-avg-10">

You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 14 June 2016 14:29:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:58:00 UTC