GEOS-5796 X-Paths with predicates only work with @attribute references