From 6c0547158e19d7cfcc7379ae1c14420fb4cfff37 Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Wed, 29 Nov 2006 21:43:37 +0000 Subject: [PATCH] split config file into retrievalinfo part and common metaproxy config part --- etc/Makefile.am | 6 +++--- etc/config-record-transform.xml | 7 +++++-- etc/retrieval-info.xml | 31 +++++++++++++++++++++++++++++++ xml/schema/retrievalinfo.rnc | 3 ++- 4 files changed, 41 insertions(+), 6 deletions(-) create mode 100644 etc/retrieval-info.xml diff --git a/etc/Makefile.am b/etc/Makefile.am index ea834d2..2b4198d 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.6 2006-10-11 13:21:51 marc Exp $ +# $Id: Makefile.am,v 1.7 2006-11-29 21:43:37 marc Exp $ # This doesn't actually build anything, it just tests whether the # configuration files here correspond with the schema. @@ -31,11 +31,11 @@ EXTRA_DIST = $(etcdata_DATA) .PHONY: check_rng check_rng: - xmllint --noout --relaxng $(rng) $(xmlconfig) + xmllint --noout --xinclude --relaxng $(rng) $(xmlconfig) .PHONY: check_xsd check_xsd: - xmllint --noout --schema $(xsd) $(xmlconfig) + xmllint --noout --xinclude --schema $(xsd) $(xmlconfig) check-local: diff --git a/etc/config-record-transform.xml b/etc/config-record-transform.xml index 79c8c3c..2370a18 100644 --- a/etc/config-record-transform.xml +++ b/etc/config-record-transform.xml @@ -1,5 +1,5 @@ - + @@ -18,6 +18,9 @@ Front + + Back diff --git a/etc/retrieval-info.xml b/etc/retrieval-info.xml new file mode 100644 index 0000000..d632bc6 --- /dev/null +++ b/etc/retrieval-info.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 023fe8a..62ec097 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,5 +1,5 @@ # Metaproxy XML config file schemas -# $Id: retrievalinfo.rnc,v 1.1 2006-11-29 14:49:20 marc Exp $ +# $Id: retrievalinfo.rnc,v 1.2 2006-11-29 21:43:38 marc Exp $ # # Copyright (c) 2005-2006, Index Data. # @@ -26,6 +26,7 @@ namespace y = "http://indexdata.com/metaproxy" retrievalinfo = element y:retrievalinfo { + attribute version { "1.0" }, element y:retrieval { attribute syntax { xsd:string }, attribute name { xsd:string }?, -- 1.7.10.4