Hi all,
As part of developing a CQL parser, I have been collecting sample
queries. My sample test page is:
http://gita.grainger.uiuc.edu/registry/sru/test.htm
You can click on a sample query to generate the XCQL equivalent.
However, there seem to be a few examples floating around, such as:
title = ((dinosaur and bird) or dinobird)
that do not seem to be supported by the BNF, either the 1.0 or 1.1
versions. My questions is are these valid queries, or am I miss reading
the BNF?
If you want to test my parser you can use:
http://gita.grainger.uiuc.edu/registry/sru/cqltest.asp?query=XXXXXX
Comments are welcome, and if there are any other CQL torture test
queries that I can add to the page please let me know.
Once the parser is tested and working, I'll be releasing it as open source.
Thanks,
Tom
|