#127 id("a b c") in a match pattern fails

v6.5.2
closed
Michael Kay
5
2012-10-08
2003-03-24
Michael Kay
No

When the id() function is used in a pattern, with an
argument comprising a space-separated list of ID
values, none of the values is matched.

For example, match="id('a b c')" should match the three
elements with ID values "a", "b", and "c", but it
actually matches none of them.

Applies to 6.5.2, 7.4, and all other Saxon releases.

Test case idky137

Discussion

  • Michael Kay
    Michael Kay
    2003-03-24

    Logged In: YES
    user_id=251681

    Source code fixed in both branches.