More tuning of Helsinki config and commentary
[yazproxy-moved-to-github.git] / etc / config.xml
index f225c3c..4be8f3e 100644 (file)
@@ -1,7 +1,11 @@
 <?xml version="1.0"?>
-<!-- $Id: config.xml,v 1.1 2004-04-11 11:37:01 adam Exp $ -->
-<proxy>
-  <target name="bagel">
+<!-- $Id: config.xml,v 1.4 2004-07-02 12:37:56 adam Exp $ -->
+<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.8/ yazproxy.xsd"
+>
+<!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
+  <target name="bagel" default="1">
     <url>indexdata.dk</url>
     <target-timeout>240</target-timeout>
     <client-timeout>180</client-timeout>
@@ -14,7 +18,7 @@
       <pdu>50</pdu>
       <retrieve>100</retrieve>
     </limit>
-    <attribute type="1" value="1-11,13-1010"/>
+    <attribute type="1" value="1-11,13-1016"/>
     <attribute type="1" value="*" error="114"/>
     <syntax type="opac"/>
     <syntax type="usmarc"/>
     <syntax type="xml" marcxml="1"/>
     <syntax type="*" error="238"/>
     <preinit>0</preinit>
+    <explain xmlns="http://explain.z3950.org/dtd/2.0/">
+       <serverInfo>
+       <host>indexdata.dk</host>
+       <port>9000</port>
+       <database>Default</database>
+       </serverInfo>
+    </explain>
     <cql2rpn>pqf.properties</cql2rpn>
-    <zeerex>zeerex.xml</zeerex>
   </target>
-  <target default="1" name="localhost">
+  <target name="localhost">
     <url>localhost:9999</url>
     <target-timeout>300</target-timeout>
     <client-timeout>180</client-timeout>
     <syntax type="*" error="238"/>
     <preinit>2</preinit>
     <cql2rpn>pqf.properties</cql2rpn>
-    <explain>
-      <serverInfo>
-       <host>indexdata.dk</host>
-       <port>9000</port>
-       <database>Default</database>
-      </serverInfo>
-    </explain>
   </target>
   <target name="*">
     <!-- everything else -->