remove stale $Id$
[irspy-moved-to-github.git] / zebra / zeerex-test.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
3
4  <serverInfo protocol="SRW/SRU/Z39.50" version="1.1" method="GET/POST">
5   <host>localhost</host>
6   <port>8019</port>
7   <database>IR-Explain---1</database>
8  </serverInfo>
9
10  <databaseInfo>
11   <title lang="en" primary="true">IRSpy database of ZeeRex records</title>
12   <description lang="en" primary="true">
13    This is a database of enhanced ZeeRex records, maintained by IRSpy,
14    containing information about a selection of Z39.50 and SRU/SRW
15    databases that are periodically probed.  The ZeeRex records are
16    extended using the extension mechanism described at
17         http://explain.z3950.org/dtd/extensions.html
18    so that the results of the tests are included alongside the
19    protocol-level information that is the core of ZeeRex.
20   </description>
21   <author>Index Data Aps, http://www.indexdata.com/</author>
22   <contact>Mike Taylor, mike@indexdata.com</contact>
23   <history lang="en" primary="true">
24    The initial version of this database was populated using the set of
25    targets known in Index Data's Z39.50 Target Directory:
26         http://targettest.indexdata.com/
27    The records may have been substantially altered and extended since
28    then, and new records may have been added.
29   </history>
30   <implementation identifier="zebra" version="1.4">
31    <title lang="en" primary="true">
32     Index Data's Zebra information management system:
33         http://www.indexdata.dk/zebra
34    </title>
35   </implementation>
36  </databaseInfo>
37
38  <indexInfo>
39   <set name="cql" identifier="info:srw/cql-context-set/1/cql-v1.1">
40    <title>CQL</title>
41   </set>
42   <set name="rec" identifier="info:srw/cql-context-set/2/rec-1.1">
43    <title>Record Metadata</title>
44   </set>
45   <set name="net" identifier="info:srw/cql-context-set/2/net-1.0">
46    <title>Network Metadata</title>
47   </set>
48   <set name="dc" identifier="info:srw/cql-context-set/1/dc-v1.1">
49    <title>Dublin Core</title>
50   </set>
51   <set name="zeerex" identifier="info:srw/cql-context-set/2/zeerex-1.1">
52    <title>ZeeRex</title>
53   </set>
54   <set name="bib1" identifier="1.2.840.10003.3.1">
55    <title>BIB-1</title>
56   </set>
57
58   <index search="true" scan="true" sort="false">
59    <title lang="en">Server choice</title>
60    <map><name set="cql">serverChoice</name></map>
61    <map><name set="cql">anywhere</name></map>
62    <map><attr type="1" set="bib1">cql:all</attr></map>
63   </index>
64
65   <index search="true" scan="true" sort="false">
66    <title lang="en">Record identifier</title>
67    <map><name set="rec">id</name></map>
68    <map><attr type="1" set="bib1">rec:id</attr>
69         <attr type="4" set="bib1">3</attr></map>
70   </index>
71
72   <index search="true" scan="true" sort="false">
73    <title lang="en">Protocol</title>
74    <map><name set="net">protocol</name></map>
75    <map><attr type="1" set="bib1">net:protocol</attr></map>
76   </index>
77
78   <index search="true" scan="true" sort="false">
79    <title lang="en">Protocol version</title>
80    <map><name set="net">version</name></map>
81    <map><attr type="1" set="bib1">net:version</attr>
82         <attr type="4" set="bib1">3</attr></map>
83   </index>
84
85   <index search="true" scan="true" sort="false">
86    <title lang="en">Protocol method</title>
87    <map><name set="net">method</name></map>
88    <map><attr type="1" set="bib1">net:method</attr></map>
89   </index>
90
91   <index search="true" scan="true" sort="false">
92    <title lang="en">Host</title>
93    <map><name set="net">host</name></map>
94    <map><attr type="1" set="bib1">net:host</attr>
95         <attr type="4" set="bib1">3</attr></map>
96   </index>
97
98   <index search="true" scan="true" sort="false">
99    <title lang="en">Port</title>
100    <map><name set="net">port</name></map>
101    <map><attr type="1" set="bib1">net:port</attr>
102         <attr type="4" set="bib1">3</attr></map>
103   </index>
104
105   <index search="true" scan="true" sort="false">
106    <title lang="en">Path</title>
107    <map><name set="net">path</name></map>
108    <map><attr type="1" set="bib1">net:path</attr></map>
109   </index>
110
111   <index search="true" scan="true" sort="false">
112    <title lang="en">Title</title>
113    <map><name set="dc">title</name></map>
114    <map><attr type="1" set="bib1">dc:title</attr></map>
115   </index>
116
117   <index search="true" scan="true" sort="false">
118    <title lang="en">Creator</title>
119    <map><name set="dc">creator</name></map>
120    <map><attr type="1" set="bib1">dc:creator</attr></map>
121   </index>
122  </indexInfo>
123
124  <!--
125  <recordInfo> is not allowed in the same record as <schemaInfo>,
126  because standard ZeeRex assumes that the record is describing
127  _either_ a Z39.50 database _or_ an SRW/SRU database, but not both.
128  We want to override that restriction, which will entail making a new
129  schema.  Yuck.
130  -->
131
132  <schemaInfo>
133   <schema name="zeerex" retrieve="true" sort="false"
134           identifier="http://explain.z3950.org/dtd/2.0/"
135           location="http://explain.z3950.org/dtd/zeerex-2.0.xsd">
136    <title>ZeeRex 2.0</title>
137   </schema>
138   <schema name="index" retrieve="true" sort="false"
139           identifier="http://indexdata.dk/zebra/xslt/1">
140    <title lang="en" primary="true">Zebra indexing recipe</title>
141   </schema>
142   <schema name="id" retrieve="true" sort="false"
143           identifier="http://indexdata.dk/zebra/id/1">
144    <title lang="en" primary="true">Record identifier</title>
145   </schema>
146  </schemaInfo>
147
148  <configInfo>
149   <supports type="relation" xmlns:foo="http://foo.com/explain/" foo:bib1equiv="2=3">=</supports>
150   <supports type="relationModifier">relevant</supports>
151   <supports type="relationModifier">fuzzy</supports>
152   <supports type="relationModifier">regexp</supports>
153   <supports type="maskingCharacter">*</supports>
154   <supports type="maskingCharacter">?</supports>
155   <default type="contextSet">net</default>
156   <default type="index">cql.anywhere</default>
157
158   <!-- ### Many more <default>s, <setting>s and <supports>s to be added -->
159  </configInfo>
160
161  <irspy:status xmlns:irspy="http://indexdata.com/irspy/1.0">
162   <irspy:implementationId>81</irspy:implementationId>
163   <irspy:implementationName>Zebra Information Server/GFS/YAZ</irspy:implementationName>
164   <irspy:implementationVersion>Zebra 2.0.1/1.98/2.1.30</irspy:implementationVersion>
165   <irspy:availability>
166    <irspy:probe ok="0">2006-07-10T11:45:06</irspy:probe>
167    <irspy:probe ok="1">2006-07-17T11:45:02</irspy:probe>
168    <!-- Leave it to applications to calculate averages, etc. -->
169   </irspy:availability>
170  </irspy:status>
171 </explain>