Menu

#38 ancestor axis fails on attributes

open
None
7
2010-08-11
2010-08-11
No

Related to 3042659

Discussion

  • Leigh L. Klotz, Jr.

    These fail:
    <bind nodeset="@foo" constraint="../bar != ''" />
    and
    <group ref="@foo"><output ref="../bar" /></group>

    parent axis and probably others do not work on attributes because parentNode is null; use ownerElement instead.

    This bug appears to be pervasive and probably needs a better fix.

     
  • Leigh L. Klotz, Jr.

    • assigned_to: nobody --> alain-couthures
    • priority: 5 --> 7
     
  • Leigh L. Klotz, Jr.

    Partial workaround for attribute ancestor axis and others.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.