From: SourceForge.net <no...@so...> - 2006-11-28 19:35:48
|
Bugs item #1604750, was opened at 2006-11-28 14:35 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=1604750&group_id=17691 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Rebecca Sutton Koeser (rlskoeser) Assigned to: Nobody/Anonymous (nobody) Summary: following-sibling fails after nested node with same name Initial Comment: The following query fails to return the appropriate sibling: let $doc := <doc><div id='1'><div id='2'/></div><div id='3'/></doc> return $doc/div[1]/following-sibling::div If you replace following-sibling::div with following-sibling::*, it works fine. If you change div id=2 to some other element name (anything but div), it also works fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=1604750&group_id=17691 |