Add reference to XSD so they can be validated with Xerces
[yazproxy-moved-to-github.git] / etc / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id: config.xml,v 1.4 2004-07-02 12:37:56 adam Exp $ -->
3 <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"
4  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5  xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.8/ yazproxy.xsd"
6 >
7 <!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
8   <target name="bagel" default="1">
9     <url>indexdata.dk</url>
10     <target-timeout>240</target-timeout>
11     <client-timeout>180</client-timeout>
12     <keepalive>
13       <bandwidth>1000000</bandwidth>
14       <pdu>1000</pdu>
15     </keepalive>
16     <limit><!-- per minute limits .. -->
17       <bandwidth>2000000</bandwidth>
18       <pdu>50</pdu>
19       <retrieve>100</retrieve>
20     </limit>
21     <attribute type="1" value="1-11,13-1016"/>
22     <attribute type="1" value="*" error="114"/>
23     <syntax type="opac"/>
24     <syntax type="usmarc"/>
25     <syntax type="none"/>
26     <syntax type="xml" marcxml="1"/>
27     <syntax type="*" error="238"/>
28     <preinit>0</preinit>
29     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
30        <serverInfo>
31        <host>indexdata.dk</host>
32        <port>9000</port>
33        <database>Default</database>
34        </serverInfo>
35     </explain>
36     <cql2rpn>pqf.properties</cql2rpn>
37   </target>
38   <target name="localhost">
39     <url>localhost:9999</url>
40     <target-timeout>300</target-timeout>
41     <client-timeout>180</client-timeout>
42     <keepalive/> <!-- keepalive enabled -->
43     <limit><!-- limits .. -->
44       <bandwidth>50000</bandwidth>
45       <pdu>60</pdu>
46       <retrieve>50</retrieve>
47     </limit>
48     <attribute type="1" value="1-1023"/>
49     <attribute type="1" value="*" error="114"/>
50     <syntax type="usmarc"/>
51     <syntax type="grs1"/>
52     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
53       identifier="info:srw/schema/1/dc-v1.1"
54         >
55       <name>dc</name>
56     </syntax>
57     <syntax type="xml" marcxml="1"
58       identifier="info:srw/schema/1/marcxml-v1.1"
59       >
60       <name>marcxml</name>
61     </syntax>
62     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS.xsl"
63       identifier="http://www.loc.gov/mods"
64       >
65       <name>mods2</name>
66     </syntax>
67     <syntax type="xml" marcxml="1" stylesheet="MARC21slim2MODS3.xsl"
68       identifier="info:srw/schema/1/mods-v3.0"
69       >
70       <name>mods3</name>
71     </syntax>
72     <syntax type="none"/>
73     <syntax type="*" error="238"/>
74     <preinit>2</preinit>
75     <cql2rpn>pqf.properties</cql2rpn>
76   </target>
77   <target name="*">
78     <!-- everything else -->
79   </target>
80   <max-clients>50</max-clients>
81   <log>client-requests server-requests</log>
82 </proxy>