RE: [xsl] An xsl:number problem

Subject: RE: [xsl] An xsl:number problem
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 10 Jul 2008 10:39:50 +0100
> Gestalt is producing:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <doc nr="">
>   
>    <a mark="true" nr=""/>
>   
>    <a nr="2"/>
>   
>    <a nr="3"/>
>   
>    <a nr="4"/>
>   
>    <a mark="true" nr="5"/>
>   
>    <a nr="6"/>
>   
>    <a nr="7"/>
>   
>    <a nr="8"/>   
> </doc>

That's the same as the output from Saxon 9.1 and previous releases, which is
clearly wrong. Saxon is memoizing the xsl:number implementation and is
failing to recognize when the "from" boundary has been crossed.

Michael Kay
http://www.saxonica.com/

Current Thread