do not allow position at the leaf node of the xpath