[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Sibling axes in xsl:key/@use ; processor disagreement


Subject: Re: [xsl] Sibling axes in xsl:key/@use ; processor disagreement
From: Michael Ludwig <mlu@xxxxxxxxxxxxx>
Date: Mon, 14 Apr 2008 20:40:29 +0200

Michael Ludwig schrieb:

This works in SAXON 9.0.0.2 from Saxonica (XSLT 2.0) and Xalan version
1.10.0 (XSLT 1.0).

It also works in Sablotron 1.0.3.


Secondly, in LibXSLT (XSLT 1.0), using xsltproc, the output is
different. The key() lookups fail where the super-group node is
to be found on the preceding-sibling axis.

I forgot to mention, this is LibXSLT version 1.1.20-0ubuntu2 (version 10120, according to xsltproc -V).

Same result with the newest available LibXSLT, version 1.1.22, all
tests passed, including key tests (and newest available LibXML2,
version 2.6.31).

What's going on here? Is there some sort of ambiguity in what I've
coded, so processors are free to interpret it one way or the other?

Could this be a bug in LibXSLT? Or does it correctly interpret my code?


Michael


Current Thread