You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2004/04/20 21:40:41 UTC

cvs commit: cocoon-2.1/src/blocks/xmldb/conf xmldb.xconf

vgritsenko    2004/04/20 12:40:41

  Modified:    src/blocks/xmldb/conf xmldb.xconf
  Log:
  Show possible xindice driver configuration options
  
  Revision  Changes    Path
  1.6       +31 -5     cocoon-2.1/src/blocks/xmldb/conf/xmldb.xconf
  
  Index: xmldb.xconf
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/xmldb/conf/xmldb.xconf,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- xmldb.xconf	6 Mar 2004 02:25:56 -0000	1.5
  +++ xmldb.xconf	20 Apr 2004 19:40:41 -0000	1.6
  @@ -19,11 +19,37 @@
   
       <!-- xmldb pseudo protocol -->
       <component-instance class="org.apache.cocoon.components.source.impl.XMLDBSourceFactory" name="xmldb">
  -        <!-- Xindice driver -->
  -        <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice"/>
  -        <!-- Xindice 1.1 Embedded driver -->
  -        <driver class="org.apache.xindice.client.xmldb.embed.DatabaseImpl" type="xindice-embed"/>
  -        <!-- Add here other XML:DB compliant databases drivers -->
  +      <!--+
  +          | Xindice 1.1 XML-RPC driver. See Xindice javadoc for configuration options.
  +          +-->
  +      <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice">
  +        <!-- Specifies xindice web application context path.
  +             Default is "/xindice/".
  +        <service-location>/xindice/</service-location>
  +        -->
  +
  +        <!-- Specifies name of the XML-RPC 'driver' (XML parser) to use.
  +             Default is "xerces".
  +        <xmlrpc-driver>xerces</xmlrpc-driver>
  +        -->
  +      </driver>
  +
  +      <!--+
  +          | Xindice 1.1 Embedded driver. See Xindice javadoc for configuration options.
  +          +-->
  +      <driver class="org.apache.xindice.client.xmldb.DatabaseImpl" type="xindice-embed">
  +        <!-- Specifies path to the Xindice configuration file.
  +             If missing, buit-in configuration defaults will be used.
  +        <configuration>/opt/xindice/config/system.xml</configuration>
  +        -->
  +
  +        <!-- Specifies path to the Xindice DB home directory.
  +             Default is `pwd` (current working directory).
  +        <db-home>/var/xindice/db</db-home>
  +        -->
  +      </driver>
  +
  +      <!-- Add here other XML:DB compliant databases' drivers -->
       </component-instance>
   
   </xconf>