PASS //item[@id >= 2 and @id <= 4]
PASS /doc/child::item[1]
PASS //group[@id="g2"]/ancestor::*[1]
PASS //item[@id="2"]/following-sibling::item[1]
PASS //item[@id="5"]/preceding-sibling::item[1]
PASS //group[@id="g2"]/following::item[1]
PASS //group[@id="g2"]/preceding::item[1]
PASS //group[@id="g1"]/descendant-or-self::item[1]
PASS //group[@id="g2"]/ancestor-or-self::*[1]
PASS //group/descendant::item[number(//choice/@index)*2]
PASS (//item[@id="5"]/preceding-sibling::item)[1]
PASS successfullyParsed is true
TEST COMPLETE