Subject: [xsl] XSLT 3.0: Question about the rules for handling duplicate declarations of static variables From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> Date: Sat, 22 Nov 2014 22:03:40 -0000 |
In section 9.6 "Static Variables and Parameters" of the 2nd Last Call of the XSLT 3.0 specification, (http://www.w3.org/TR/2014/WD-xslt-30-20141002/#static-params), the second of the two additional constraints listed, says: "... and (b) if the variables are initialized (that is, if the elements are xsl:variable elements, or if they are xsl:param elements and no value for the parameter is externally supplied) then the values of both variables must be identical, and must not contain function items." It is not clear to me what is the exact meaning of the phrase "must not contain function items". I see several possible meanings: 1. Must not contain references to functions. (This seems unlikely, because a static expression can contain references to functions -- but maybe just in the case of static variables conflict this is forbidden?) 2. Must not contain references to any <xsl:function> (an xsl-function only, not any function) 3. Must not contain a definition of an inline function-item. Could someone, please, specify which of these three possible meaning is intended in the above phrase, or if none, then what is the intended meaning of this phrase? -- Cheers, Dimitre Novatchev
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] XSLT3.0: Question about s, Michael Kay mike@xxx | Thread | Re: [xsl] XSLT 3.0: Question about , Michael Kay mike@xxx |
Re: [xsl] XSLT3.0: Question about s, Michael Kay mike@xxx | Date | Re: [xsl] XSLT 3.0: Question about , Michael Kay mike@xxx |
Month |