X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=xml%2Fschema%2Ffilter_session_shared.rnc;h=8b09c0270d4d340f551119ea077fdf2d55842534;hb=908c8147d8bcef7ed9c84e0c6720a56dd22e6e86;hp=a476008f0857c47cea49bd6848f952417518e989;hpb=94a8a11a9816ef32713b965615ecedbe0ec59c48;p=metaproxy-moved-to-github.git diff --git a/xml/schema/filter_session_shared.rnc b/xml/schema/filter_session_shared.rnc index a476008..8b09c02 100644 --- a/xml/schema/filter_session_shared.rnc +++ b/xml/schema/filter_session_shared.rnc @@ -1,22 +1,4 @@ -# Metaproxy XML config file schemas -# -# Copyright (C) 2005-2011 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 -# xmllint -/-schema metaproxy.xsd config-bytarget.xml -# -# For information on RelaxNG see http://relaxng.org -# see also http://books.xmlschemata.org/relaxng/ +# Metaproxy XML config file schema namespace mp = "http://indexdata.com/metaproxy" @@ -25,11 +7,13 @@ filter_session_shared = attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, element mp:resultset { - attribute max { xsd:integer }, - attribute ttl { xsd:integer }, - attribute optimizesearch { xsd:boolean } + attribute max { xsd:integer }?, + attribute ttl { xsd:integer }?, + attribute optimizesearch { xsd:boolean }?, + attribute restart { xsd:boolean }? }?, element mp:session { - attribute ttl { xsd:integer } + attribute ttl { xsd:integer }?, + attribute max { xsd:integer }? }?