Re: Fixes to string constructors now in internal WD

> On 8 Oct 2015, at 03:53, Josh Spiegel <josh.spiegel@oracle.com> wrote:
> 
> 
>> each string constructor interpolation $i is evaluated, then converted to a string using the expression string-join($i ! string(.))
> 
> I agree with Mike about atomization and lean towards separating the values with spaces because it seems more consistent with the behavior of constructor content (3.9.1.3 Content, e. iii) and sequence normalization.  e.g. 
> 
>     ($i ! (. cast as xs:string)) => string-join(‘ ‘)

I’m OK with that. (Can’t help feeling that’s what string-join() itself should do: string-join(1 to 4, ‘ ‘) => “1 2 3 4”.)
> 
> (the cast expr will atomize)
> 
>> StringConstructorInterpolation	   ::=   	"`{" Expr "}`"
> 
> 
> Can we make it “Expr?” instead of “Expr”

If we do that, I think we should do it in EnclosedExpr as well.

Michael Kay
Saxonica

Received on Thursday, 8 October 2015 08:45:43 UTC