Changes between versions
0.1
and
0.2
of the cql-java distribution:
Fix the order of proximity parameters in accordance with the
updated official grammar, which now specifies proximity
operators of the form:
prox/relation/distance/unit/ordering
as in foo prox/<=/3/sentence bar
Make the necessary parts of the
CQLNode
class and its subclasses public. This means that client code
can now walk through parse-trees and so implement its own
back-end (e.g. to build BER-friendly data structures using
whatever Z39.50 toolkit is preferred.)
Add the toPQF(Properties p) method to CQLNode
and its subclasses. This produces a query in YAZ-style Prefix
Query Format, which can be trivially translated into a Z39.50
Type-1 query (see, for example, JZKit's code to do so).
Add etc/pqf.properties to configure the
toPQF() method.
Add a new -p props-file option to the
CQLParser test-harness, indicating that the parsed
tree is to be rendered to PQF.
Add PQFTranslationException and its subclasses
UnknownQualifierException,
UnknownRelationException,
UnknownRelationModifierException and
UnknownPositionException.
Rename ParameterMissingException to
MissingParameterException.
Add javadoc comments for CQLNode and its
subclasses.