Menu

#61 current() not set during key evaluation

v6.5.1
closed
5
2012-10-08
2002-02-20
Michael Kay
No

If the current() function is called within the
use="..." expression of xsl:key, it should (probably)
return the node whose key is being evaluated. It
doesn't.

This appears to fail in both 6.5.1 and in 7.0, though
the code for the two branches is very different in
this area.

Reported by Oliver Becker [obecker@informatik.hu-
berlin.de]
.

Test case added: idky16

Discussion

  • Michael Kay

    Michael Kay - 2002-02-20

    Logged In: YES
    user_id=251681

    Source code fixed in both branches (and tested).

     
  • Michael Kay

    Michael Kay - 2002-04-12

    Logged In: YES
    user_id=251681

    Fixed in 6.5.2

     
  • Michael Kay

    Michael Kay - 2002-04-30

    Logged In: YES
    user_id=251681

    Fixed in 7.1