#7 ancestor::name fails to find node

v6.4
closed
5
2012-10-08
2001-07-06
Michael Kay
No

Under certain conditions when the ancestor axis is
used with an explicit node-test, e.g. ancestor::item,
the required ancestor is not found. This only happens
with the tinytree. It happens when the required
ancestor is the node that immediately precedes (in
document order) another ancestor that isn't required.
If there are any nodes in between, even whitespace
text, the problem does not occur.

New in 6.4.

Reported by James Petry [jpetry@his.co.uk]

Fixed in 6.4.2.

Simple fix:
in com.icl.saxon.tinytree.AttributeEnumeration, delete
line 69 (which reads "nextNodeNr--;")

Discussion

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks