-# $Id: Makefile.am,v 1.8 2007-01-02 15:35:36 marc Exp $
+# $Id: Makefile.am,v 1.9 2007-01-08 13:07:38 marc Exp $
# This doesn't actually build anything, it just tests whether the
# configuration files here correspond with the schema.
$(srcdir)/config4.xml \
$(srcdir)/config5.xml
-config = example.simple-auth example.target-auth pqf2pqf.xsl
+config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml
rng = $(srcdir)/../xml/schema/metaproxy.rng
<?xml version="1.0"?>
-<!-- $Id: config-sru-to-z3950.xml,v 1.11 2007-01-08 10:17:45 marc Exp $ -->
+<!-- $Id: config-sru-to-z3950.xml,v 1.12 2007-01-08 13:07:38 marc Exp $ -->
<metaproxy
xmlns="http://indexdata.com/metaproxy"
version="1.0">
</filter>
<filter id="sru" type="sru_z3950">
<database name="Default">
- <explain xmlns="http://explain.z3950.org/dtd/2.0/">
- ...
- </explain>
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
+ href="explain.xml"/>
</database>
<database name="Dummy"/>
</filter>
<filter type="log">
<message>SRU/Z3950</message>
</filter>
- <filter type="log">
- <message>ZEEREX</message>
- </filter>
<filter refid="sru"/>
<filter type="log">
<message>VIRTDB</message>
<database>Default</database>
<target>localhost:9999/Default</target>
</virtual>
+ <virtual>
+ <database>Dummy</database>
+ <target>localhost:9998/Default</target>
+ </virtual>
</filter>
<filter type="backend_test"/>
<!--
<?xml version="1.0" encoding="UTF-8"?>
-<!-- $Id: explain.xml,v 1.1 2007-01-08 10:17:45 marc Exp $ -->
+<!-- $Id: explain.xml,v 1.2 2007-01-08 13:07:38 marc Exp $ -->
<!-- this file configures the SRU/SRW explain response -->
<!-- see: http://explain.z3950.org/dtd/commentary.html -->
<explain xmlns="http://explain.z3950.org/dtd/2.0/">
<serverInfo protocol="SRU">
- <host>foo.indexdata.dk</host>
- <port>80</port>
+ <host>foo.somehost.somewhere</host>
+ <port>9000</port>
<database>Default</database>
</serverInfo>
<databaseInfo>
- <title lang="en" primary="true">Metaproxy example SRU explain record</title
+ <title lang="en" primary="true">Metaproxy SRU explain record</title>
<description lang="en" primary="true">
Some description of this service
</description>
# Metaproxy XML config file schemas
-# $Id: metaproxy.rnc,v 1.14 2007-01-05 11:28:48 marc Exp $
+# $Id: metaproxy.rnc,v 1.15 2007-01-08 13:07:39 marc Exp $
#
# Copyright (c) 2005-2006, Index Data.
#
| filter_sru_z3950
| filter_virt_db
| filter_z3950_client
- | filter_zeerex_explain
+# | filter_zeerex_explain
}
filter_refid = attribute refid { xsd:NCName }
filter_sru_z3950 =
attribute type { "sru_z3950" },
attribute id { xsd:NCName }?,
- attribute name { xsd:NCName }?
+ attribute name { xsd:NCName }?,
+ element mp:database {
+ attribute name { xsd:NCName },
+ any
+ }+
filter_virt_db =
attribute type { "virt_db" },
attribute name { xsd:NCName }?,
element mp:timeout { xsd:integer }?
-filter_zeerex_explain =
- attribute type { "zeerex_explain" },
- attribute id { xsd:NCName }?,
- attribute name { xsd:NCName }?,
- element mp:database {
- attribute name { xsd:NCName },
- any
- }+
+#filter_zeerex_explain =
+# attribute type { "zeerex_explain" },
+# attribute id { xsd:NCName }?,
+# attribute name { xsd:NCName }?,
+# element mp:database {
+# attribute name { xsd:NCName },
+# any
+# }+
\ No newline at end of file