Re: [xsl] XSLT 2.0 xsl:number level="any" with from pattern

Subject: Re: [xsl] XSLT 2.0 xsl:number level="any" with from pattern
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Thu, 05 Aug 2010 13:10:03 +0100
I have posted the bug at

http://www.w3.org/Bugs/Public/show_bug.cgi?id=10299

if you want to track it.

Michael Kay
Saxonica

On 05/08/2010 12:55, Michael Kay wrote:
On 04/08/2010 13:37, Martin Honnen wrote:

I am struggling to understand whether the root node is used as the boundary node with xsl:number when a from pattern is specified but no preceding or ancestor node matches that from pattern.



I agree with you - there's a problem here. The results you are getting from Saxon and other processors don't match the spec.


There seem to be quite a few tests in the W3C test suite, however, that assume the behaviour you are seeing. So I'm going to raise it as a specification bug to give the WG the opportunity to decide whether it wants to change the spec or the tests.

Michael Kay
Saxonica

Current Thread