Add attribute 'database' for target
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 Oct 2004 21:49:21 +0000 (21:49 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 18 Oct 2004 21:49:21 +0000 (21:49 +0000)
etc/config.xml
etc/yazproxy.xsd

index 4be8f3e..d620a3f 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0"?>
-<!-- $Id: config.xml,v 1.4 2004-07-02 12:37:56 adam Exp $ -->
+<!-- $Id: config.xml,v 1.5 2004-10-18 21:49:21 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"
@@ -28,9 +28,9 @@
     <preinit>0</preinit>
     <explain xmlns="http://explain.z3950.org/dtd/2.0/">
        <serverInfo>
-       <host>indexdata.dk</host>
+       <host>localhost</host>
        <port>9000</port>
-       <database>Default</database>
+       <database>gils</database>
        </serverInfo>
     </explain>
     <cql2rpn>pqf.properties</cql2rpn>
     <syntax type="none"/>
     <syntax type="*" error="238"/>
     <preinit>2</preinit>
+    <explain xmlns="http://explain.z3950.org/dtd/2.0/">
+       <serverInfo>
+       <host>localhost</host>
+       <port>9000</port>
+       <database>Default</database>
+       </serverInfo>
+    </explain>
     <cql2rpn>pqf.properties</cql2rpn>
   </target>
   <target name="*">
index 90e39cc..14ef66a 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!-- XML Schema for YAZ proxy config file.
-    $Id: yazproxy.xsd,v 1.4 2004-08-29 13:01:43 adam Exp $
+    $Id: yazproxy.xsd,v 1.5 2004-10-18 21:49:22 adam Exp $
 -->
 <xs:schema
   xmlns:xs="http://www.w3.org/2001/XMLSchema"
@@ -36,6 +36,7 @@
    </xs:sequence>
    <xs:attribute name="default" type="xs:string" use="optional"/>
    <xs:attribute name="name" type="xs:string"/>
+   <xs:attribute name="database" type="xs:string"/>
   </xs:complexType>
  </xs:element>