[Bug 29184] Modify fn:string-join to accept xs:anyAtomicType* instead of xs:string*

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29184

Abel Braaksma <abel.braaksma@xs4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abel.braaksma@xs4all.nl

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
While we're at it, does it make sense to also update the second argument to
allow for xs:anyAtomicType?, or xs:string??

It simplifies writing (a variant of):

  string-join(1 to 4, if(@separator) then @separator else '')

into

  string-join(1 to 4, @separator)

assuming the second argument follows from string($arg2), so the empty sequence
as in string(()), will return the empty string.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 16 October 2015 15:30:35 UTC