Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#478 parent axis in XOM interface broken

v8.7
closed
Michael Kay
5
2012-10-08
2006-02-27
Michael Kay
No

The parent:: axis in the XOM interface is broken.
parent::* returns the "self" node instead of the parent
node.

Source fix: in net.sf.saxon.xom.NodeWrapper, change
line 663 from

return Navigator.filteredSingleton(self, nodeTest);

to

return Navigator.filteredSingleton(getParent(), nodeTest);

Michael Kay

Discussion