Project

Profile

Help

Should Saxon 9.7.0.4 EE pass the composite key test key-086.xsl in the XSLT test suite?

Added by Martin Honnen almost 8 years ago

I was wondering about the support for composite keys and run the test https://dvcs.w3.org/hg/xslt30-test/file/65843077b249/tests/fn/key/key-086.xsl against the input document https://dvcs.w3.org/hg/xslt30-test/file/65843077b249/tests/fn/key/key105.xml, surprisingly Saxon EE 9.7.0.4 (run from the command line) outputs an empty @@ element while Exselt and XmlPrime output @3@.

Is that a known issue with Saxon?


Replies (4)

Please register to reply

RE: Should Saxon 9.7.0.4 EE pass the composite key test key-086.xsl in the XSLT test suite? - Added by Michael Kay almost 8 years ago

I'll look into it. I'm passing the test on my current build, and I've got a saved results file that shows I passed the test with (some build of) 9.7.0.2, But there could be issues about running it in a particular configuration or with some other build.

RE: Should Saxon 9.7.0.4 EE pass the composite key test key-086.xsl in the XSLT test suite? - Added by Martin Honnen almost 8 years ago

It seems really strange, but it seems that the test case when run from the command line outputs an empty @@ while when run inside oXygen 18 (where I think they integrate Saxon 9.7 via its Java API) then result is the expected @3@. I have a different XSLT sample using a composite key which also gives a odd result when run with Saxon from the command line while giving me the desired result inside oXygen 18.

RE: Should Saxon 9.7.0.4 EE pass the composite key test key-086.xsl in the XSLT test suite? - Added by Michael Kay almost 8 years ago

It appears to give the correct result if bytecode generation is switched off. I'll raise a bug entry.

    (1-4/4)

    Please register to reply