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

[Bug 29024] fn:serialize needs clarification when method parameter set from a map

From: <nobody@w3.org>
Date: Wed, 05 Aug 2015 16:10:13 +0000
To: public-qt-comments@w3.org
Message-ID: <bug-29024-523-VDB9xnX7g6@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=29024

--- Comment #2 from Josh Spiegel <josh.spiegel@oracle.com> ---
Correction, these two would raise an error:

  fn:serialize(<e/>, map { "method" : xs:untypedAtomic("xml") })
  fn:serialize(<e/>, map { "method" : <e>xml</e> })

Because of this clause of the function conversion rules:

 "If the item is of type xs:untypedAtomic and the expected type is
namespace-sensitive, a type error [err:XPTY0117] is raised."

And the required type union of string/QName would be a namespace sensitive
type.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Wednesday, 5 August 2015 16:10:16 UTC

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