From: Marc Cromme Date: Fri, 6 Oct 2006 22:42:24 +0000 (+0000) Subject: updated wih copyright info X-Git-Tag: METAPROXY.1.0.7~25 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=b9a2c9c658b95608dd4be2fed43cf889a1c6ee5a;p=metaproxy-moved-to-github.git updated wih copyright info multifilter configuration validation updated --- 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 =