X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;ds=sidebyside;f=xml%2Fschema%2Fmetaproxy.rnc;h=12a44b372d99ba90b096d73a28df6f784ce8d112;hb=67753db293cb62940e4c2db3a6e5f635cd5b78c3;hp=c31d7603f9bf66cb016f7c73ffbfc1ac2773459b;hpb=6e73632396c2ed75df235eb038ad9701b97b4c73;p=metaproxy-moved-to-github.git diff --git a/xml/schema/metaproxy.rnc b/xml/schema/metaproxy.rnc index c31d760..12a44b3 100644 --- a/xml/schema/metaproxy.rnc +++ b/xml/schema/metaproxy.rnc @@ -1,7 +1,6 @@ # Metaproxy XML config file schemas -# $Id: metaproxy.rnc,v 1.12 2006-12-28 14:59:44 marc Exp $ # -# Copyright (c) 2005-2006, Index Data. +# Copyright (c) 2005-2008 Index Data. # # See the LICENSE file for details # @@ -26,9 +25,12 @@ start |= metaproxy include "retrievalinfo.rnc" +any = (text | element * { attribute * { text }*, any })* + metaproxy = element mp:metaproxy { attribute version { "1.0" }, + element mp:dlpath { xsd:string }?, element mp:start { attribute route { xsd:NCName } }, @@ -48,8 +50,12 @@ filter = | filter_auth_simple | filter_backend_test | filter_bounce + | filter_cgi + | filter_cql_rpn | filter_frontend_net | filter_http_file + | filter_limit + | filter_load_balance | filter_log | filter_multi | filter_query_rewrite @@ -58,7 +64,7 @@ filter = | filter_sru_z3950 | filter_virt_db | filter_z3950_client - | filter_zeerex_explain +# | filter_zeerex_explain } filter_refid = attribute refid { xsd:NCName } @@ -81,13 +87,22 @@ filter_bounce = attribute id { xsd:NCName }?, attribute name { xsd:NCName }? +filter_cql_rpn = + attribute type { "cql_rpn" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:conversion { + attribute file { xsd:string } + } + filter_frontend_net = attribute type { "frontend_net" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, element mp:threads { xsd:integer }?, - element mp:port { xsd:string }, - element mp:timeout { xsd:integer }? + element mp:port { xsd:string }+, + element mp:timeout { xsd:integer }?, + element mp:connect-max { xsd:integer }? filter_http_file = attribute type { "http_file" }, @@ -99,16 +114,25 @@ filter_http_file = element mp:prefix { xsd:string } } +filter_load_balance = + attribute type { "load_balance" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }? + filter_log = attribute type { "log" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, element mp:message { xsd:string }?, + element mp:time-format { xsd:string }?, element mp:filename { xsd:string }?, element mp:category { + attribute user-access { xsd:boolean }?, + attribute access { xsd:boolean }?, attribute init-options { xsd:boolean }?, attribute request-session { xsd:boolean }?, attribute response-session { xsd:boolean }?, + attribute session { xsd:boolean }?, attribute apdu { xsd:boolean }?, attribute request-apdu { xsd:boolean }?, attribute response-apdu { xsd:boolean }? @@ -122,7 +146,8 @@ filter_multi = attribute route { xsd:string }, xsd:string }*, - element mp:hideunavailable { empty }? + element mp:hideunavailable { empty }?, + element mp:mergetype { xsd:string }? filter_query_rewrite = attribute type { "query_rewrite" }, @@ -144,34 +169,68 @@ filter_session_shared = attribute name { xsd:NCName }?, element mp:resultset { attribute max { xsd:integer }, - attribute ttl { xsd:integer } - }, + attribute ttl { xsd:integer }, + attribute optimizesearch { xsd:boolean } + }?, element mp:session { attribute ttl { xsd:integer } - } + }? 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" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, + element mp:pass-vhosts { xsd:boolean }?, + element mp:torus { + attribute url { xsd:string } + }?, element mp:virtual { attribute route { xsd:NCName }?, - element mp:database { xsd:NCName }, + element mp:database { xsd:string }, element mp:target { xsd:string }+ - }+ + }* filter_z3950_client = attribute type { "z3950_client" }, attribute id { xsd:NCName }?, attribute name { xsd:NCName }?, - element mp:timeout { xsd:integer }? + element mp:timeout { xsd:integer }?, + element mp:default_target { xsd:string }?, + element mp:force_target { xsd:string }?, + element mp:force_close { xsd:boolean }? + +filter_limit = + attribute type { "limit" }, + element mp:limit { + attribute bandwidth { xsd:integer }?, + attribute pdu { xsd:integer }?, + attribute search { xsd:integer }?, + attribute retrieve { xsd:integer }? + }? -filter_zeerex_explain = - attribute type { "zeerex_explain" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }? +filter_cgi = + attribute type { "cgi" }, + element mp:map { + attribute path { xsd:string }, + attribute exec { xsd:string } + }* + +#filter_zeerex_explain = +# attribute type { "zeerex_explain" }, +# attribute id { xsd:NCName }?, +# attribute name { xsd:NCName }?, +# element mp:database { +# attribute name { xsd:NCName }, +# any +# }+ + +