Review: Needs Fixing

item-separator isn't a drop-in replacement for the space separator which was 
introduced previously. If item-separator is specified, it is used to separate 
*every* *item* in the top-level sequence, not just adjacent strings as the 
space character was before. So, for example:

zorba -z item-separator="--" -q '(<hello/>,<world/>,1,2,3)'

should output

<hello/>--<world/>--1--2--3

See the discussion in section 2 of the XQuery 3.0 serialization spec: 
http://www.w3.org/TR/2013/WD-xslt-xquery-serialization-30-20130108/#serdm
-- 
https://code.launchpad.net/~zorba-coders/zorba/bug-1217140/+merge/184906
Your team Zorba Coders is subscribed to branch lp:zorba.

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to