[xml] preceding-sibling::*
- From: Karanjit Siyan <siyan ncbi nlm nih gov>
- To: xml gnome org
- Subject: [xml] preceding-sibling::*
- Date: Thu, 4 Aug 2005 08:33:28 -0400
I have found that LibXML is incorrectly returning the nodeset in the
XPath expression:
preceding-sibling::*
in document order instead of *reverse* document order.
So instead of
preceding-sibling::*[1]
for a given context returning the most immediate preceding sibling, it
returns the preceding sibling furthest away from the current context.
Is this a known bug? Is there a fix for this?
I tested the expression under XMLSpy 2005 and it returns the correct
order.
Karanjit Siyan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]