Reinstate the "exact" relation even when v1.2 is in effect (the
authorMike Taylor <mike@miketaylor.org.uk>
Tue, 27 Jul 2010 16:20:57 +0000 (17:20 +0100)
committerMike Taylor <mike@miketaylor.org.uk>
Tue, 27 Jul 2010 16:20:57 +0000 (17:20 +0100)
default), despite its removal from v1.2 of CQL.  In practice, it seems
to be in fairly widespread use, and little real purpose is served in
removing it.

src/main/java/org/z3950/zing/cql/CQLParser.java

index 90e9f59..cf1272c 100644 (file)
@@ -245,7 +245,7 @@ public class CQLParser {
              lexer.sval.equals("all") ||
              lexer.sval.equals("within") ||
              lexer.sval.equals("encloses") ||
-             (lexer.sval.equals("exact") && compat != V1POINT2) ||
+             lexer.sval.equals("exact") ||
              (lexer.sval.equals("scr") && compat != V1POINT2) ||
              (lexer.sval.equals("adj") && compat == V1POINT2)))
           return true;