[Bug 28350] [XSLT30] (possibly editorial) static variables declaration order, unfinished sentence in spec

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

--- Comment #1 from Abel Braaksma <abel.braaksma@xs4all.nl> ---
> I'm not 100% sure, but I think it means (among others) that the following 
> is legal:

> <xsl:variable static="yes" name="first" select="'hello'" />
> <xsl:variable static="yes" name="first" select="$first || ' world'" />

Correcting myself, rules just prior to this section ensure that both variables
must be consistent (i.e. have the same value), which clearly is not the case
here. It should throw XTSE3450 (meaning the values are inconsistent).

If the second variable would occur in an imported stylesheet and be imported
after the first declaration, overriding the value is allowed, but you would not
be able to access the value of the original variable.

Leaving the bug open because of the typo in the quote in the comment#0 above.

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

Received on Thursday, 26 March 2015 22:44:24 UTC