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

Re: [xsl] Increasing sequence ?


Subject: Re: [xsl] Increasing sequence ?
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Mar 2015 19:49:05 -0000

 Leo,

> 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)

I think I know what the issue is most likely.

I can investigate further only after I am back at home from work, but
my guess is that if you use BaseX, there will be no SO problem.


Cheers,
Dimitre




On Thu, Mar 26, 2015 at 12:40 PM, Leo Studer leo.studer@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> 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
> XSL-List info and archive
> EasyUnsubscribe (by email)


Current Thread