From: Adam Dickmeiss Date: Wed, 5 Jul 2006 14:45:57 +0000 (+0000) Subject: Added cql2pqf which shows evalutation order X-Git-Tag: YAZ.2.1.26~48 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=18f92d330bb581f4d216346dbb73e2b642e720f9;p=yaz-moved-to-github.git Added cql2pqf which shows evalutation order --- diff --git a/test/Makefile.am b/test/Makefile.am index 61fb914..014aada 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,6 +1,6 @@ ## Copyright (C) 1994-2006, Index Data ApS ## All rights reserved. -## $Id: Makefile.am,v 1.21 2006-07-05 08:10:40 heikki Exp $ +## $Id: Makefile.am,v 1.22 2006-07-05 14:45:57 adam Exp $ check_PROGRAMS = tsticonv tstnmem tstmatchstr tstwrbuf tstodr tstccl tstlog \ tstsoap1 tstsoap2 tstodrstack tstlogthread tstxmlquery tstpquery \ @@ -11,6 +11,7 @@ check_SCRIPTS = tstcql.sh tstmarciso.sh tstmarcxml.sh TESTS = $(check_PROGRAMS) $(check_SCRIPTS) EXTRA_DIST = tstodr.asn tstodrcodec.c tstodrcodec.h cqlsample \ + cql2pqf-order.txt \ $(check_SCRIPTS) \ marc1 marc1.xml marc1.chr marc1.xml.marc \ marc2 marc2.xml marc2.chr marc2.xml.marc \ diff --git a/test/cql2pqf-order.txt b/test/cql2pqf-order.txt new file mode 100644 index 0000000..cb9037c --- /dev/null +++ b/test/cql2pqf-order.txt @@ -0,0 +1,28 @@ +# $Id: cql2pqf-order.txt,v 1.1 2006-07-05 14:45:57 adam Exp $ +# +# cql2pqf spec which tests evaluation order of rules +# Identifiers for prefixes used in this file. (index.*) +set.cql = info:srw/cql-context-set/1/cql-v1.1 +set.rec = info:srw/cql-context-set/2/rec-1.0 +set.dc = info:srw/cql-context-set/1/dc-v1.1 + +# default set (in query) +set = info:srw/cql-context-set/1/dc-v1.1 + +# The default access point and result-set references + +index.dc.title = 1=index + +relation.eq = 2=relation + +relationModifier.relevant = 3=modifier + +position.any = 4=position + + +structure.* = 5=structure + +truncation.none = 6=truncation + +always = 7=always +