Re: xslt 3.0 test suite question

The stylesheeet in question is used in two tests, and for both tests the expected result is a static error.

The test is using syntax that was defined in a working draft of XSLT 3.0 and the change history records that the expected result of the test was changed when that feature was removed from the spec.

Michael Kay
Saxonica

> On 23 Apr 2025, at 16:01, Mukul Gandhi <gandhi.mukul@gmail.com> wrote:
> 
> Hi all,
>   I don't know where I should have written this mail, and thought
> this is the right mailing list to discuss this issue.
> 
> W3C XSLT 3.0 test suite has following XSL stylesheet mentioned in a
> test case for xsl:for-each-group instruction,
> 
> https://github.com/w3c/xslt30-test/blob/master/tests/insn/for-each-group/for-each-group-002.xsl
> [1]
> 
> This XSL stylesheet [1] has been written like following.
> 
> <xsl:for-each-group select="cities/city" group-by="@country" bind-group="g">
>   .......
> 
> Neither XSLT 3.0 or XSLT 2.0, specifies attribute 'bind-group' for
> xsl:for-each-group instruction. Is this an error with this XSLT 3.0
> test case specification?
> 
> Thanks in advance for any clarifications.
> 
> 
> -- 
> Regards,
> Mukul Gandhi
> 

Received on Wednesday, 23 April 2025 16:00:53 UTC