Use yazpp rather than yaz++.
[yazproxy-moved-to-github.git] / etc / config.xml
index 6bc751c..9925858 100644 (file)
@@ -1,9 +1,10 @@
 <?xml version="1.0"?>
-<!-- $Id: config.xml,v 1.6 2004-10-23 23:12:23 adam Exp $ -->
-<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"
+<!-- $Id: config.xml,v 1.14 2006-03-29 13:33:46 adam Exp $ -->
+<proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"
+ xmlns:xi="http://www.w3.org/2001/XInclude"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.8/ yazproxy.xsd"
->
+ xsi:schemaLocation="http://indexdata.dk/yazproxy/schema/0.9/ yazproxy.xsd"
+  >
 <!-- Config can be checked with xerces-c++: PParse -n -s config.xml -->
   <target name="localhost" default="1">
     <url>localhost:9999</url>
     </keepalive>
     <limit><!-- per minute limits .. -->
       <bandwidth>2000000</bandwidth>
-      <pdu>50</pdu>
+      <pdu>60</pdu>
       <retrieve>100</retrieve>
     </limit>
     <attribute type="1" value="1-11,13-1016"/>
     <attribute type="1" value="*" error="114"/>
     <syntax type="opac"/>
-    <syntax type="usmarc"/>
+    <syntax type="usmarc" backendcharset="iso-8859-1"/>
     <syntax type="none"/>
-    <syntax type="xml" marcxml="1"/>
+    <syntax type="sutrs" backendcharset="iso-8859-1"/>
+    <syntax type="xml">
+      <name>b</name>
+    </syntax>
+    <syntax type="xml" marcxml="1" stylesheet="MARC21slim2SRWDC.xsl"
+      identifier="info:srw/schema/1/dc-v1.1"
+      >
+      <title>Dublin Core</title>
+      <name>dc</name>
+    </syntax>
     <syntax type="*" error="238"/>
     <preinit>0</preinit>
-    <explain xmlns="http://explain.z3950.org/dtd/2.0/">
-       <serverInfo>
-       <host>localhost</host>
-       <port>9000</port>
-       <database>gils</database>
-       </serverInfo>
-    </explain>
+    <xi:include href="explain.xml"/>
+    <target-charset>iso-8859-1</target-charset>
     <cql2rpn>pqf.properties</cql2rpn>
-    <authentication>adam/x</authentication>
   </target>
   <target name="*">
     <target-timeout>60</target-timeout>
     <client-timeout>30</client-timeout>
     <!-- everything else -->
   </target>
-  <max-clients>50</max-clients>
+  <max-clients>2</max-clients>
   <log>client-requests server-requests</log>
 </proxy>