Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ CQL-Java is a Free Software project that provides:
CQL is "Common Query Language", a query language designed under
the umbrella of the ZING initiative (Z39.59-International Next
Generation). The official specification is at
http://www.loc.gov/standards/sru/cql/
https://www.loc.gov/standards/sru/cql/
and there's more (and friendlier) information at
http://zing.z3950.org/cql/index.html
https://zing.z3950.org/cql/index.html

XCQL is "XML CQL", a representation of CQL-equivalent queries in XML
which is supposed to be easier to parse. The specification is at
http://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/schemas/xcql.xsd
https://docs.oasis-open.org/search-ws/searchRetrieve/v1.0/os/schemas/xcql.xsd
in the form of an XML Schema.

But if you didn't know that, why are you even reading this? :-)
Expand Down Expand Up @@ -90,7 +90,7 @@ Using the library in your own applications:

## Description

See the automatically generated class documentation in the "target"
See the automatically generated class documentation in the `target`
subdirectory.


Expand All @@ -99,7 +99,7 @@ subdirectory.
Original code and documentation by Mike Taylor, Index Data <mike@indexdata.com>
At present maintained by Jakub Skoczen, Index Data <jakub@indexdata.dk>

* http://www.indexdata.com/cql-java
* https://www.indexdata.com/cql-java

Please email us with bug-reports, wishlist items, patches, deployment
stories and, of course, large cash donations.
Expand All @@ -109,7 +109,7 @@ stories and, of course, large cash donations.

The CQL-Java suite is Free Software, which is pretty much legally
equivalent -- though not morally equivalent -- to Open Source. See
http://www.gnu.org/philosophy/free-software-for-freedom.html
https://www.gnu.org/philosophy/free-software-for-freedom.html
for a detailed if somewhat one-sided discussion of the differences,
and particularly of why Free Software is an important idea.

Expand All @@ -124,7 +124,7 @@ a part of a non-free larger work.

## See also

* http://zing.z3950.org/cql
* https://zing.z3950.org/cql
* Adam Dickmeiss's CQL compiler, written in C.
* Rob Sanderson's CQL compiler, written in Python.
* Jakub Skoczen's CQL-js compiler, written in JavaScript https://github.com/indexdata/cql-js
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/z3950/zing/cql/CQLGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
* this distribution - there is a <code>generate_<I>x</I>()</code> method
* for each grammar element <I>X</I>.
*
* @see <A href="http://zing.z3950.org/cql/index.html"
* >http://zing.z3950.org/cql/index.html</A>
* @see <A href="https://zing.z3950.org/cql/index.html"
* >https://zing.z3950.org/cql/index.html</A>
*/
public class CQLGenerator {
private Properties params;
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/z3950/zing/cql/CQLNode.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ static void renderSortKeys(XCQLBuilder b, int level,
* that can be trivially mapped, one-to-one, int Z39.50 Type-1 and
* Type-101 queries. A specification for the format can be found
* in
* <A href="http://indexdata.dk/yaz/doc/tools.php#PQF"
* <A href="https://indexdata.com/yaz/doc/tools.html#PQF"
* >Chapter 7 (Supporting Tools)</A> of the
* <A href="http://indexdata.dk/yaz/">YAZ</A> manual.
* <A href="https://indexdata.com/yaz/doc">YAZ</A> manual.
*
* @param config
* A <code>Properties</code> object containing configuration
Expand Down Expand Up @@ -130,8 +130,8 @@ abstract public String toPQF(Properties config)
* @return
* A byte array containing the BER packet.
* @see
* <A href="ftp://ftp.rsasecurity.com/pub/pkcs/ascii/layman.asc"
* >ftp://ftp.rsasecurity.com/pub/pkcs/ascii/layman.asc</A>
* <A href="https://luca.ntop.org/Teaching/Appunti/asn1.html"
* >A Layman's Guide to a Subset of ASN.1, BER, and DER</A>
* @throws PQFTranslationException
* If the parse-tree cannot be translated into
* PQF, for example
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/z3950/zing/cql/CQLParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
/**
* Compiles CQL strings into parse trees of CQLNode subtypes.
*
* @see <A href="http://zing.z3950.org/cql/index.html"
* >http://zing.z3950.org/cql/index.html</A>
* @see <A href="https://zing.z3950.org/cql/index.html"
* >https://zing.z3950.org/cql/index.html</A>
*/
public class CQLParser {
private CQLTokenizer lexer;
Expand Down