[Bug 27258] [XSLT30] ambiguities in text in spec on @item-separator

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

--- Comment #4 from Michael Kay <mike@saxonica.com> ---
(In reply to Abel Braaksma from comment #3)
> Maybe a silly comment, but would item-separator kick in with CVTs? I.e.:
> 
> <xsl:result-document item-separator=" ">
>    <xsl:text expand-text="yes">{1 to 5}</xsl:text>
> </xsl:result-document>
> 
> Would the output be: 1 2 3 4 5
> or: 12345
> 
> (without trying to find it in the spec, I have to confess I am not even sure
> whether a CVT works the same as xsl:value-of, where the default separator is
> " " (space))

A CVT is evaluated to produce a text node, under the rules for constructing
simple content. These rules cause atomic values to be separated by spaces.

The item-separator property is not relevant to this case, because by the time
serialization happens, there is only one text node, therefore one item,
therefore no need for a separator.

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

Received on Wednesday, 3 December 2014 15:33:12 UTC