Skip to content

Commit afd4762

Browse files
committed
fix #121
1 parent a8ced8f commit afd4762

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

query.go

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -985,15 +985,6 @@ type logicalQuery struct {
985985
}
986986

987987
func (l *logicalQuery) Select(t iterator) NodeNavigator {
988-
// When a XPath expr is logical expression.
989-
node := t.Current().Copy()
990-
val := l.Evaluate(t)
991-
switch val.(type) {
992-
case bool:
993-
if val.(bool) == true {
994-
return node
995-
}
996-
}
997988
return nil
998989
}
999990

0 commit comments

Comments
 (0)