From 9257766cd43b17520940b4343bf77a74a7d3776a Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Mon, 8 Jan 2007 13:07:38 +0000 Subject: [PATCH] updated XML framework to reflect move of SRU explain from zeerex_explain filter to sru_z3950 filter --- etc/Makefile.am | 4 ++-- etc/config-sru-to-z3950.xml | 14 +++++++------- etc/explain.xml | 8 ++++---- xml/schema/metaproxy.rnc | 26 +++++++++++++++----------- 4 files changed, 28 insertions(+), 24 deletions(-) diff --git a/etc/Makefile.am b/etc/Makefile.am index f74d429..0df1822 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,4 +1,4 @@ -# $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. @@ -20,7 +20,7 @@ xmlconfig = $(srcdir)/config-bytarget.xml \ $(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 diff --git a/etc/config-sru-to-z3950.xml b/etc/config-sru-to-z3950.xml index 15aa769..e5a655e 100644 --- a/etc/config-sru-to-z3950.xml +++ b/etc/config-sru-to-z3950.xml @@ -1,5 +1,5 @@ - + @@ -11,9 +11,8 @@ - - ... - + @@ -27,9 +26,6 @@ SRU/Z3950 - - ZEEREX - VIRTDB @@ -39,6 +35,10 @@ Default localhost:9999/Default + + Dummy + localhost:9998/Default + + @@ -10,13 +10,13 @@ - foo.indexdata.dk - 80 + foo.somehost.somewhere + 9000 Default - Metaproxy example SRU explain recordMetaproxy SRU explain record Some description of this service diff --git a/xml/schema/metaproxy.rnc b/xml/schema/metaproxy.rnc index 340221f..9f49097 100644 --- a/xml/schema/metaproxy.rnc +++ b/xml/schema/metaproxy.rnc @@ -1,5 +1,5 @@ # 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. # @@ -61,7 +61,7 @@ filter = | filter_sru_z3950 | filter_virt_db | filter_z3950_client - | filter_zeerex_explain +# | filter_zeerex_explain } filter_refid = attribute refid { xsd:NCName } @@ -161,7 +161,11 @@ filter_session_shared = 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" }, @@ -179,13 +183,13 @@ filter_z3950_client = 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 -- 1.7.10.4