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

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