[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Increasing sequence ?


Subject: Re: [xsl] Increasing sequence ?
From: "Leo Studer leo.studer@xxxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Mar 2015 19:40:10 -0000

Dimitre

the question came up in a XML Schema 1.1 assertion where only xPath 2.0
expressions are allowed.

>> Dimitre, yes, this is nice, however can not be used in xsd:assertions.
>
> Do you mean that you cannot use an XSLT function?
>
>> And there is a stack problem with large sequences.

I tried it with an xQuery function (I know it does not belong here ;-)) and
had a stack problem with a sequence with 10000 elements ;-( (Oxygen 16.1)
>
> There shouldn't be such problem with this particular function, if the
> XSLT processor recognizes and optimizes tail recursion.
>

Always
Leo


Current Thread