xsl-list
[Top] [All Lists]

Re: [xsl] Increasing sequence ?

2015-03-26 14:40:15
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: 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>