From b9a2c9c658b95608dd4be2fed43cf889a1c6ee5a Mon Sep 17 00:00:00 2001 From: Marc Cromme Date: Fri, 6 Oct 2006 22:42:24 +0000 Subject: [PATCH] updated wih copyright info multifilter configuration validation updated --- xml/schema/metaproxy.rnc | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/xml/schema/metaproxy.rnc b/xml/schema/metaproxy.rnc index 9ea24b6..8f67dbf 100644 --- a/xml/schema/metaproxy.rnc +++ b/xml/schema/metaproxy.rnc @@ -1,7 +1,23 @@ -# The RelaxNG Compact Syntax file is the master copy +# Metaproxy XML config file schemas +# $Id: metaproxy.rnc,v 1.3 2006-10-06 22:42:24 marc Exp $ +# +# Copyright (c) 2005-2006, Index Data. +# +# See the LICENSE file for details +# +# +# The RelaxNG Compact Syntax file 'metaproxy.rnc' is the master copy. +# +# The RelaxNG XML Syntax and XML Schema are generated using 'trang': # trang metaproxy.rnc metaproxy.rng +# trang metaproxy.rnc metaproxy.xsd +# +# Config file validation is done using 'xmllint': # xmllint -/-relaxng metaproxy.rng ../../../etc/config1.xml -# see also http://books.xmlschemata.org/relaxng/relax-CHP-16-SECT-2.html +# xmllint --schema metaproxy.xsd config-bytarget.xml +# +# For information on RelaxNG see http://relaxng.org +# see also http://books.xmlschemata.org/relaxng/ default namespace = "http://indexdata.dk/yp2/config/1" @@ -93,6 +109,10 @@ filter_multi = attribute type { "multi" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, + element target { + attribute route { xsd:string }, + xsd:string + }*, element hideunavailable { empty }? filter_query_rewrite = -- 1.7.10.4