#89 Sort attributes can't depend on context

v7.1
closed
Michael Kay
5
2012-10-08
2002-07-22
Michael Kay
No

The attributes of xsl:sort that are defined as attribute
value templates (order, case-order, lang) are evaluated
with the wrong node as context node. This means that if
the expression used in the AVT is context-sensitive, the
sort may fail or may output the results in the wrong
order.

This affects Saxon 7.1 only.

Reported by Trond Aasan [trondaas@ub.ntnu.no]

Source code fixed. Test case added (sort19).

Discussion

  • Michael Kay
    Michael Kay
    2002-08-28

    Logged In: YES
    user_id=251681

    Fixed in 7.2

     
  • Michael Kay
    Michael Kay
    2002-08-28

    Logged In: YES
    user_id=251681

    Fixed in 7.2