xsl-list
[Top] [All Lists]

Re: [xsl] Increasing sequence ?

2015-03-26 14:49:10
 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(_dot_)studer(_at_)varioweb(_dot_)ch
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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)
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>