18a3ddcfbd396ae8f639a0e0fd267cb3af217010
[irspy-moved-to-github.git] / zebra / zeerex.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- $Id: zeerex.xml,v 1.7 2006-06-20 11:05:13 mike Exp $ -->
3 <explain xmlns="http://explain.z3950.org/dtd/2.0/">
4
5  <serverInfo protocol="SRW/SRU/Z39.50" version="1.1" method="GET/POST">
6   <host>localhost</host>
7   <port>1313</port>
8   <database>Default</database>
9  </serverInfo>
10
11  <databaseInfo>
12   <title lang="en" primary="true">IRSpy database of ZeeRex records</title>
13   <description lang="en" primary="true">
14    This is a database of enhanced ZeeRex records, maintained by IRSpy,
15    containing information about a selection of Z39.50 and SRU/SRW
16    databases that are periodically probed.  The ZeeRex records are
17    extended using the extension mechanism described at
18         http://explain.z3950.org/dtd/extensions.html
19    so that the results of the tests are included alongside the
20    protocol-level information that is the core of ZeeRex.
21   </description>
22   <author>Index Data Aps, http://www.indexdata.com/</author>
23   <contact>Mike Taylor, mike@indexdata.com</contact>
24   <history lang="en" primary="true">
25    The initial version of this database was populated using the set of
26    targets known in Index Data's Z39.50 Target Directory:
27         http://targettest.indexdata.com/
28    The records may have been substantially altered and extended since
29    then, and new records may have been added.
30   </history>
31   <implementation identifier="zebra" version="1.4">
32    <title lang="en" primary="true">
33     Index Data's Zebra information management system:
34         http://www.indexdata.dk/zebra
35    </title>
36   </implementation>
37  </databaseInfo>
38
39  <indexInfo>
40   <set name="cql" identifier="info:srw/cql-context-set/1/cql-v1.1">
41    <title>CQL</title>
42   </set>
43   <set name="rec" identifier="info:srw/cql-context-set/2/rec-1.1">
44    <title>Record Metadata</title>
45   </set>
46   <set name="net" identifier="info:srw/cql-context-set/2/net-1.0">
47    <title>Network Metadata</title>
48   </set>
49   <set name="dc" identifier="info:srw/cql-context-set/1/dc-v1.1">
50    <title>Dublin Core</title>
51   </set>
52   <set name="zeerex" identifier="info:srw/cql-context-set/2/zeerex-1.1">
53    <title>ZeeRex</title>
54   </set>
55   <set name="bib1" identifier="1.2.840.10003.3.1">
56    <title>BIB-1</title>
57   </set>
58
59   <index search="true" scan="true" sort="false">
60    <title lang="en">Server choice</title>
61    <map><name set="cql">serverChoice</name></map>
62    <map><name set="cql">anywhere</name></map>
63    <map><attr type="1" set="bib1">cql:all</attr></map>
64   </index>
65
66   <index search="true" scan="true" sort="false">
67    <title lang="en">Record identifier</title>
68    <map><name set="rec">id</name></map>
69    <map><attr type="1" set="bib1">rec:id</attr></map>
70   </index>
71
72   <!-- ### Many more indexes to be added -->
73  </indexInfo>
74
75  <!--
76  <recordInfo> is not allowed in the same record as <schemaInfo>,
77  because standard ZeeRex assumes that the record is describing
78  _either_ a Z39.50 database _or_ an SRW/SRU database, but not both.
79  We want to override that restriction, which ill entail making a new
80  schema.  Yuck.
81  -->
82
83  <schemaInfo>
84   <schema name="zeerex" retrieve="true" sort="false"
85           identifier="http://explain.z3950.org/dtd/2.0/"
86           location="http://explain.z3950.org/dtd/zeerex-2.0.xsd">
87    <title>ZeeRex 2.0</title>
88   </schema>
89   <schema name="index" retrieve="true" sort="false"
90           identifier="http://indexdata.dk/zebra/xslt/1">
91    <title lang="en" primary="true">Zebra indexing recipe</title>
92   </schema>
93   <schema name="id" retrieve="true" sort="false"
94           identifier="http://indexdata.dk/zebra/id/1">
95    <title lang="en" primary="true">Record identifier</title>
96   </schema>
97  </schemaInfo>
98
99  <configInfo>
100   <supports type="relationModifier">relevant</supports>
101   <supports type="relationModifier">fuzzy</supports>
102   <supports type="relationModifier">regexp</supports>
103   <supports type="maskingCharacter">*</supports>
104   <supports type="maskingCharacter">?</supports>
105   <default type="contextSet">net</default>
106   <default type="index">cql.anywhere</default>
107
108   <!-- ### Many more <default>s, <setting>s and <supports>s to be added -->
109  </configInfo>
110 </explain>