<?xml version="1.0"?>
-<!-- $Id: config-sru-to-z3950.xml,v 1.13 2007-01-15 15:07:59 marc Exp $ -->
+<!-- $Id: config-sru-to-z3950.xml,v 1.14 2007-01-16 09:23:24 marc Exp $ -->
<metaproxy
xmlns="http://indexdata.com/metaproxy"
version="1.0">
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="explain.xml"/>
</database>
- <database name="Dummy"/>
</filter>
<filter id="cql" type="cql_rpn">
<conversion file="etc/cql2pqf.txt"/>
<route id="start">
<filter refid="frontend"/>
<filter type="log">
- <message>SRU/Z3950</message>
+ <message>SRU</message>
</filter>
<filter refid="sru"/>
<filter type="log">
- <message>VIRTDB</message>
- </filter>
- <filter type="virt_db">
- <virtual>
- <database>Default</database>
- <target>localhost:9999/Default</target>
- </virtual>
- <virtual>
- <database>Dummy</database>
- <target>localhost:9998/Default</target>
- </virtual>
- </filter>
- <filter type="log">
<message>CQL</message>
</filter>
<filter refid="cql"/>
</filter>
<filter type="backend_test"/>
<!--
+ <filter type="virt_db">
+ <virtual>
+ <database>Default</database>
+ <target>localhost:9999/Default</target>
+ </virtual>
+ </filter>
<filter refid="backend"/>
-->
+
<filter type="bounce"/>
</route>
</routes>
# Metaproxy XML config file schemas
-# $Id: metaproxy.rnc,v 1.15 2007-01-08 13:07:39 marc Exp $
+# $Id: metaproxy.rnc,v 1.16 2007-01-16 09:23:24 marc Exp $
#
# Copyright (c) 2005-2006, Index Data.
#
| filter_auth_simple
| filter_backend_test
| filter_bounce
+ | filter_cql_rpn
| filter_frontend_net
| filter_http_file
| filter_load_balance
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?
+filter_cql_rpn =
+ attribute type { "cql_rpn" },
+ attribute id { xsd:NCName }?,
+ attribute name { xsd:NCName }?,
+ element mp:conversion {
+ attribute file { xsd:string }
+ }
+
filter_frontend_net =
attribute type { "frontend_net" },
attribute id { xsd:NCName }?,