From 94a8a11a9816ef32713b965615ecedbe0ec59c48 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Tue, 21 Jun 2011 11:25:01 +0200 Subject: [PATCH] Split config schemas to separate files This is to have one schema file per filter. --- xml/schema/MARC21slim.xsd | 137 --------- xml/schema/Makefile.am | 61 +++- xml/schema/filter_auth_simple.rnc | 30 ++ xml/schema/filter_auth_simple.rng | 54 ++++ xml/schema/filter_auth_simple.xsd | 49 +++ xml/schema/filter_backend_test.rnc | 26 ++ xml/schema/filter_backend_test.rng | 39 +++ xml/schema/filter_backend_test.xsd | 37 +++ xml/schema/filter_bounce.rnc | 26 ++ xml/schema/filter_bounce.rng | 39 +++ xml/schema/filter_bounce.xsd | 37 +++ xml/schema/filter_cgi.rnc | 30 ++ xml/schema/filter_cgi.rng | 39 +++ xml/schema/filter_cgi.xsd | 46 +++ xml/schema/filter_cql_rpn.rnc | 30 ++ xml/schema/filter_cql_rpn.rng | 44 +++ xml/schema/filter_cql_rpn.xsd | 42 +++ xml/schema/filter_frontend_net.rnc | 31 ++ xml/schema/filter_frontend_net.rng | 59 ++++ xml/schema/filter_frontend_net.xsd | 49 +++ xml/schema/filter_http_file.rnc | 32 ++ xml/schema/filter_http_file.rng | 50 ++++ xml/schema/filter_http_file.xsd | 54 ++++ xml/schema/filter_limit.rnc | 31 ++ xml/schema/filter_limit.rng | 53 ++++ xml/schema/filter_limit.xsd | 48 +++ xml/schema/filter_load_balance.rnc | 27 ++ xml/schema/filter_load_balance.rng | 39 +++ xml/schema/filter_load_balance.xsd | 37 +++ xml/schema/filter_log.rnc | 41 +++ xml/schema/filter_log.rng | 103 +++++++ xml/schema/filter_log.xsd | 61 ++++ xml/schema/filter_multi.rnc | 33 ++ xml/schema/filter_multi.rng | 57 ++++ xml/schema/filter_multi.xsd | 57 ++++ xml/schema/filter_query_rewrite.rnc | 30 ++ xml/schema/filter_query_rewrite.rng | 44 +++ xml/schema/filter_query_rewrite.xsd | 42 +++ xml/schema/filter_record_transform.rnc | 27 ++ xml/schema/filter_record_transform.rng | 40 +++ xml/schema/filter_record_transform.xsd | 51 ++++ xml/schema/filter_session_shared.rnc | 35 +++ xml/schema/filter_session_shared.rng | 59 ++++ xml/schema/filter_session_shared.xsd | 55 ++++ xml/schema/filter_sru_z3950.rnc | 31 ++ xml/schema/filter_sru_z3950.rng | 47 +++ xml/schema/filter_sru_z3950.xsd | 51 ++++ xml/schema/filter_virt_db.rnc | 36 +++ xml/schema/filter_virt_db.rng | 68 +++++ xml/schema/filter_virt_db.xsd | 59 ++++ xml/schema/filter_z3950_client.rnc | 31 ++ xml/schema/filter_z3950_client.rng | 59 ++++ xml/schema/filter_z3950_client.xsd | 48 +++ xml/schema/local.xsd | 9 + xml/schema/metaproxy.rnc | 186 ++---------- xml/schema/metaproxy.rng | 515 ++------------------------------ xml/schema/metaproxy.xsd | 409 +------------------------ xml/schema/retrievalinfo.rnc | 2 +- xml/schema/retrievalinfo.rng | 2 +- xml/schema/retrievalinfo.xsd | 5 +- 60 files changed, 2368 insertions(+), 1201 deletions(-) delete mode 100644 xml/schema/MARC21slim.xsd create mode 100644 xml/schema/filter_auth_simple.rnc create mode 100644 xml/schema/filter_auth_simple.rng create mode 100644 xml/schema/filter_auth_simple.xsd create mode 100644 xml/schema/filter_backend_test.rnc create mode 100644 xml/schema/filter_backend_test.rng create mode 100644 xml/schema/filter_backend_test.xsd create mode 100644 xml/schema/filter_bounce.rnc create mode 100644 xml/schema/filter_bounce.rng create mode 100644 xml/schema/filter_bounce.xsd create mode 100644 xml/schema/filter_cgi.rnc create mode 100644 xml/schema/filter_cgi.rng create mode 100644 xml/schema/filter_cgi.xsd create mode 100644 xml/schema/filter_cql_rpn.rnc create mode 100644 xml/schema/filter_cql_rpn.rng create mode 100644 xml/schema/filter_cql_rpn.xsd create mode 100644 xml/schema/filter_frontend_net.rnc create mode 100644 xml/schema/filter_frontend_net.rng create mode 100644 xml/schema/filter_frontend_net.xsd create mode 100644 xml/schema/filter_http_file.rnc create mode 100644 xml/schema/filter_http_file.rng create mode 100644 xml/schema/filter_http_file.xsd create mode 100644 xml/schema/filter_limit.rnc create mode 100644 xml/schema/filter_limit.rng create mode 100644 xml/schema/filter_limit.xsd create mode 100644 xml/schema/filter_load_balance.rnc create mode 100644 xml/schema/filter_load_balance.rng create mode 100644 xml/schema/filter_load_balance.xsd create mode 100644 xml/schema/filter_log.rnc create mode 100644 xml/schema/filter_log.rng create mode 100644 xml/schema/filter_log.xsd create mode 100644 xml/schema/filter_multi.rnc create mode 100644 xml/schema/filter_multi.rng create mode 100644 xml/schema/filter_multi.xsd create mode 100644 xml/schema/filter_query_rewrite.rnc create mode 100644 xml/schema/filter_query_rewrite.rng create mode 100644 xml/schema/filter_query_rewrite.xsd create mode 100644 xml/schema/filter_record_transform.rnc create mode 100644 xml/schema/filter_record_transform.rng create mode 100644 xml/schema/filter_record_transform.xsd create mode 100644 xml/schema/filter_session_shared.rnc create mode 100644 xml/schema/filter_session_shared.rng create mode 100644 xml/schema/filter_session_shared.xsd create mode 100644 xml/schema/filter_sru_z3950.rnc create mode 100644 xml/schema/filter_sru_z3950.rng create mode 100644 xml/schema/filter_sru_z3950.xsd create mode 100644 xml/schema/filter_virt_db.rnc create mode 100644 xml/schema/filter_virt_db.rng create mode 100644 xml/schema/filter_virt_db.xsd create mode 100644 xml/schema/filter_z3950_client.rnc create mode 100644 xml/schema/filter_z3950_client.rng create mode 100644 xml/schema/filter_z3950_client.xsd create mode 100644 xml/schema/local.xsd diff --git a/xml/schema/MARC21slim.xsd b/xml/schema/MARC21slim.xsd deleted file mode 100644 index 3fae866..0000000 --- a/xml/schema/MARC21slim.xsd +++ /dev/null @@ -1,137 +0,0 @@ - - - - - MARCXML: The MARC 21 XML Schema - Prepared by Corey Keith - - August 4, 2003 - Version 1.1 - Removed import of xml namespace and the use of xml:space="preserve" attributes on the leader and controlfields. - Whitespace preservation in these subfields is accomplished by the use of xsd:whiteSpace value="preserve" - - May 21, 2002 - Version 1.0 - Initial Release - - This schema supports XML markup of MARC21 records as specified in the MARC documentation (see www.loc.gov). It allows tags with - alphabetics and subfield codes that are symbols, neither of which are as yet used in the MARC 21 communications formats, but are - allowed by MARC 21 for local data. The schema accommodates all types of MARC 21 records: bibliographic, holdings, bibliographic - with embedded holdings, authority, classification, and community information. - - - - - record is a top level container element for all of the field elements which compose the record - - - - - collection is a top level container element for 0 or many records - - - - - - - - - - - - - - - - - - - - - - - - - - - - - MARC21 Leader, 24 bytes - - - - - - - - - - - - - - - - MARC21 Fields 001-009 - - - - - - - - - - - - - - - - - - - - - - MARC21 Variable Data Fields 010-999 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xml/schema/Makefile.am b/xml/schema/Makefile.am index e4b38b6..b58960f 100644 --- a/xml/schema/Makefile.am +++ b/xml/schema/Makefile.am @@ -4,8 +4,65 @@ TRANG=trang xmlschemadatadir = $(pkgdatadir)/xml/schema -schemas = metaproxy.rnc metaproxy.rng metaproxy.xsd \ - retrievalinfo.rnc retrievalinfo.rng retrievalinfo.xsd +schemas = \ +filter_auth_simple.rnc \ +filter_auth_simple.rng \ +filter_auth_simple.xsd \ +filter_backend_test.rnc \ +filter_backend_test.rng \ +filter_backend_test.xsd \ +filter_bounce.rnc \ +filter_bounce.rng \ +filter_bounce.xsd \ +filter_cgi.rnc \ +filter_cgi.rng \ +filter_cgi.xsd \ +filter_cql_rpn.rnc \ +filter_cql_rpn.rng \ +filter_cql_rpn.xsd \ +filter_frontend_net.rnc \ +filter_frontend_net.rng \ +filter_frontend_net.xsd \ +filter_http_file.rnc \ +filter_http_file.rng \ +filter_http_file.xsd \ +filter_limit.rnc \ +filter_limit.rng \ +filter_limit.xsd \ +filter_load_balance.rnc \ +filter_load_balance.rng \ +filter_load_balance.xsd \ +filter_log.rnc \ +filter_log.rng \ +filter_log.xsd \ +filter_multi.rnc \ +filter_multi.rng \ +filter_multi.xsd \ +filter_query_rewrite.rnc \ +filter_query_rewrite.rng \ +filter_query_rewrite.xsd \ +filter_record_transform.rnc \ +filter_record_transform.rng \ +filter_record_transform.xsd \ +filter_session_shared.rnc \ +filter_session_shared.rng \ +filter_session_shared.xsd \ +filter_sru_z3950.rnc \ +filter_sru_z3950.rng \ +filter_sru_z3950.xsd \ +filter_virt_db.rnc \ +filter_virt_db.rng \ +filter_virt_db.xsd \ +filter_z3950_client.rnc \ +filter_z3950_client.rng \ +filter_z3950_client.xsd \ +local.xsd \ +metaproxy.rnc \ +metaproxy.rng \ +metaproxy.xsd \ +retrievalinfo.rnc \ +retrievalinfo.rng \ +retrievalinfo.xsd xmlschemadata_DATA = $(schemas) diff --git a/xml/schema/filter_auth_simple.rnc b/xml/schema/filter_auth_simple.rnc new file mode 100644 index 0000000..f94fa04 --- /dev/null +++ b/xml/schema/filter_auth_simple.rnc @@ -0,0 +1,30 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_auth_simple = + attribute type { "auth_simple" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:userRegister { xsd:string }?, + element mp:targetRegister { xsd:string }?, + element mp:discardUnauthorisedTargets { empty }? + diff --git a/xml/schema/filter_auth_simple.rng b/xml/schema/filter_auth_simple.rng new file mode 100644 index 0000000..f6921da --- /dev/null +++ b/xml/schema/filter_auth_simple.rng @@ -0,0 +1,54 @@ + + + + + + auth_simple + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_auth_simple.xsd b/xml/schema/filter_auth_simple.xsd new file mode 100644 index 0000000..2fe796c --- /dev/null +++ b/xml/schema/filter_auth_simple.xsd @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_backend_test.rnc b/xml/schema/filter_backend_test.rnc new file mode 100644 index 0000000..6172b12 --- /dev/null +++ b/xml/schema/filter_backend_test.rnc @@ -0,0 +1,26 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_backend_test = + attribute type { "backend_test" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }? diff --git a/xml/schema/filter_backend_test.rng b/xml/schema/filter_backend_test.rng new file mode 100644 index 0000000..5b6429d --- /dev/null +++ b/xml/schema/filter_backend_test.rng @@ -0,0 +1,39 @@ + + + + + + backend_test + + + + + + + + + + + + + diff --git a/xml/schema/filter_backend_test.xsd b/xml/schema/filter_backend_test.xsd new file mode 100644 index 0000000..d11530c --- /dev/null +++ b/xml/schema/filter_backend_test.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_bounce.rnc b/xml/schema/filter_bounce.rnc new file mode 100644 index 0000000..752c8a9 --- /dev/null +++ b/xml/schema/filter_bounce.rnc @@ -0,0 +1,26 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_bounce = + attribute type { "bounce" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }? diff --git a/xml/schema/filter_bounce.rng b/xml/schema/filter_bounce.rng new file mode 100644 index 0000000..847935d --- /dev/null +++ b/xml/schema/filter_bounce.rng @@ -0,0 +1,39 @@ + + + + + + bounce + + + + + + + + + + + + + diff --git a/xml/schema/filter_bounce.xsd b/xml/schema/filter_bounce.xsd new file mode 100644 index 0000000..e338e64 --- /dev/null +++ b/xml/schema/filter_bounce.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_cgi.rnc b/xml/schema/filter_cgi.rnc new file mode 100644 index 0000000..259c416 --- /dev/null +++ b/xml/schema/filter_cgi.rnc @@ -0,0 +1,30 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_cgi = + attribute type { "cgi" }, + element mp:map { + attribute path { xsd:string }, + attribute exec { xsd:string } + }* + + \ No newline at end of file diff --git a/xml/schema/filter_cgi.rng b/xml/schema/filter_cgi.rng new file mode 100644 index 0000000..ba39880 --- /dev/null +++ b/xml/schema/filter_cgi.rng @@ -0,0 +1,39 @@ + + + + + + cgi + + + + + + + + + + + + + diff --git a/xml/schema/filter_cgi.xsd b/xml/schema/filter_cgi.xsd new file mode 100644 index 0000000..4807a7b --- /dev/null +++ b/xml/schema/filter_cgi.xsd @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_cql_rpn.rnc b/xml/schema/filter_cql_rpn.rnc new file mode 100644 index 0000000..f109e69 --- /dev/null +++ b/xml/schema/filter_cql_rpn.rnc @@ -0,0 +1,30 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_cql_rpn = + attribute type { "cql_rpn" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:conversion { + attribute file { xsd:string } + } + diff --git a/xml/schema/filter_cql_rpn.rng b/xml/schema/filter_cql_rpn.rng new file mode 100644 index 0000000..1fbb8bd --- /dev/null +++ b/xml/schema/filter_cql_rpn.rng @@ -0,0 +1,44 @@ + + + + + + cql_rpn + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_cql_rpn.xsd b/xml/schema/filter_cql_rpn.xsd new file mode 100644 index 0000000..cc813c4 --- /dev/null +++ b/xml/schema/filter_cql_rpn.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_frontend_net.rnc b/xml/schema/filter_frontend_net.rnc new file mode 100644 index 0000000..f7fc90c --- /dev/null +++ b/xml/schema/filter_frontend_net.rnc @@ -0,0 +1,31 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +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:connect-max { xsd:integer }? + diff --git a/xml/schema/filter_frontend_net.rng b/xml/schema/filter_frontend_net.rng new file mode 100644 index 0000000..9f91376 --- /dev/null +++ b/xml/schema/filter_frontend_net.rng @@ -0,0 +1,59 @@ + + + + + + frontend_net + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_frontend_net.xsd b/xml/schema/filter_frontend_net.xsd new file mode 100644 index 0000000..de07958 --- /dev/null +++ b/xml/schema/filter_frontend_net.xsd @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_http_file.rnc b/xml/schema/filter_http_file.rnc new file mode 100644 index 0000000..386cd9e --- /dev/null +++ b/xml/schema/filter_http_file.rnc @@ -0,0 +1,32 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_http_file = + attribute type { "http_file" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:mimetypes { xsd:string }, + element mp:area { + element mp:documentroot { xsd:string }, + element mp:prefix { xsd:string } + } + diff --git a/xml/schema/filter_http_file.rng b/xml/schema/filter_http_file.rng new file mode 100644 index 0000000..76c12ce --- /dev/null +++ b/xml/schema/filter_http_file.rng @@ -0,0 +1,50 @@ + + + + + + http_file + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_http_file.xsd b/xml/schema/filter_http_file.xsd new file mode 100644 index 0000000..c5186a4 --- /dev/null +++ b/xml/schema/filter_http_file.xsd @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_limit.rnc b/xml/schema/filter_limit.rnc new file mode 100644 index 0000000..1ea375f --- /dev/null +++ b/xml/schema/filter_limit.rnc @@ -0,0 +1,31 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_limit = + attribute type { "limit" }, + element mp:limit { + attribute bandwidth { xsd:integer }?, + attribute pdu { xsd:integer }?, + attribute search { xsd:integer }?, + attribute retrieve { xsd:integer }? + }? + diff --git a/xml/schema/filter_limit.rng b/xml/schema/filter_limit.rng new file mode 100644 index 0000000..517fec9 --- /dev/null +++ b/xml/schema/filter_limit.rng @@ -0,0 +1,53 @@ + + + + + + limit + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_limit.xsd b/xml/schema/filter_limit.xsd new file mode 100644 index 0000000..f1b7432 --- /dev/null +++ b/xml/schema/filter_limit.xsd @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_load_balance.rnc b/xml/schema/filter_load_balance.rnc new file mode 100644 index 0000000..dd80cf7 --- /dev/null +++ b/xml/schema/filter_load_balance.rnc @@ -0,0 +1,27 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_load_balance = + attribute type { "load_balance" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }? + diff --git a/xml/schema/filter_load_balance.rng b/xml/schema/filter_load_balance.rng new file mode 100644 index 0000000..f31cd8a --- /dev/null +++ b/xml/schema/filter_load_balance.rng @@ -0,0 +1,39 @@ + + + + + + load_balance + + + + + + + + + + + + + diff --git a/xml/schema/filter_load_balance.xsd b/xml/schema/filter_load_balance.xsd new file mode 100644 index 0000000..39b9136 --- /dev/null +++ b/xml/schema/filter_load_balance.xsd @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_log.rnc b/xml/schema/filter_log.rnc new file mode 100644 index 0000000..962670e --- /dev/null +++ b/xml/schema/filter_log.rnc @@ -0,0 +1,41 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +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 }? + }? + diff --git a/xml/schema/filter_log.rng b/xml/schema/filter_log.rng new file mode 100644 index 0000000..5b2cbaa --- /dev/null +++ b/xml/schema/filter_log.rng @@ -0,0 +1,103 @@ + + + + + + log + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_log.xsd b/xml/schema/filter_log.xsd new file mode 100644 index 0000000..1682ea4 --- /dev/null +++ b/xml/schema/filter_log.xsd @@ -0,0 +1,61 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_multi.rnc b/xml/schema/filter_multi.rnc new file mode 100644 index 0000000..e2e8396 --- /dev/null +++ b/xml/schema/filter_multi.rnc @@ -0,0 +1,33 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_multi = + attribute type { "multi" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:target { + attribute route { xsd:string }, + xsd:string + }*, + element mp:hideunavailable { empty }?, + element mp:mergetype { xsd:string }? + diff --git a/xml/schema/filter_multi.rng b/xml/schema/filter_multi.rng new file mode 100644 index 0000000..e5c2ea7 --- /dev/null +++ b/xml/schema/filter_multi.rng @@ -0,0 +1,57 @@ + + + + + + multi + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_multi.xsd b/xml/schema/filter_multi.xsd new file mode 100644 index 0000000..28e6e9f --- /dev/null +++ b/xml/schema/filter_multi.xsd @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_query_rewrite.rnc b/xml/schema/filter_query_rewrite.rnc new file mode 100644 index 0000000..8db3bdd --- /dev/null +++ b/xml/schema/filter_query_rewrite.rnc @@ -0,0 +1,30 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_query_rewrite = + attribute type { "query_rewrite" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:xslt { + attribute stylesheet { xsd:string } + } + diff --git a/xml/schema/filter_query_rewrite.rng b/xml/schema/filter_query_rewrite.rng new file mode 100644 index 0000000..f48798e --- /dev/null +++ b/xml/schema/filter_query_rewrite.rng @@ -0,0 +1,44 @@ + + + + + + query_rewrite + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_query_rewrite.xsd b/xml/schema/filter_query_rewrite.xsd new file mode 100644 index 0000000..58c0910 --- /dev/null +++ b/xml/schema/filter_query_rewrite.xsd @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_record_transform.rnc b/xml/schema/filter_record_transform.rnc new file mode 100644 index 0000000..518352a --- /dev/null +++ b/xml/schema/filter_record_transform.rnc @@ -0,0 +1,27 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_record_transform = + attribute type { "record_transform" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + retrievalinfo diff --git a/xml/schema/filter_record_transform.rng b/xml/schema/filter_record_transform.rng new file mode 100644 index 0000000..97a3e89 --- /dev/null +++ b/xml/schema/filter_record_transform.rng @@ -0,0 +1,40 @@ + + + + + + record_transform + + + + + + + + + + + + + + diff --git a/xml/schema/filter_record_transform.xsd b/xml/schema/filter_record_transform.xsd new file mode 100644 index 0000000..418db23 --- /dev/null +++ b/xml/schema/filter_record_transform.xsd @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_session_shared.rnc b/xml/schema/filter_session_shared.rnc new file mode 100644 index 0000000..a476008 --- /dev/null +++ b/xml/schema/filter_session_shared.rnc @@ -0,0 +1,35 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_session_shared = + attribute type { "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 } + }?, + element mp:session { + attribute ttl { xsd:integer } + }? + diff --git a/xml/schema/filter_session_shared.rng b/xml/schema/filter_session_shared.rng new file mode 100644 index 0000000..be70a93 --- /dev/null +++ b/xml/schema/filter_session_shared.rng @@ -0,0 +1,59 @@ + + + + + + session_shared + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_session_shared.xsd b/xml/schema/filter_session_shared.xsd new file mode 100644 index 0000000..b649ca1 --- /dev/null +++ b/xml/schema/filter_session_shared.xsd @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_sru_z3950.rnc b/xml/schema/filter_sru_z3950.rnc new file mode 100644 index 0000000..65a54f8 --- /dev/null +++ b/xml/schema/filter_sru_z3950.rnc @@ -0,0 +1,31 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_sru_z3950 = + attribute type { "sru_z3950" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:database { + attribute name { xsd:NCName }, + any + }* + diff --git a/xml/schema/filter_sru_z3950.rng b/xml/schema/filter_sru_z3950.rng new file mode 100644 index 0000000..809425b --- /dev/null +++ b/xml/schema/filter_sru_z3950.rng @@ -0,0 +1,47 @@ + + + + + + sru_z3950 + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_sru_z3950.xsd b/xml/schema/filter_sru_z3950.xsd new file mode 100644 index 0000000..beaf752 --- /dev/null +++ b/xml/schema/filter_sru_z3950.xsd @@ -0,0 +1,51 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_virt_db.rnc b/xml/schema/filter_virt_db.rnc new file mode 100644 index 0000000..58a4727 --- /dev/null +++ b/xml/schema/filter_virt_db.rnc @@ -0,0 +1,36 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +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:string }, + element mp:target { xsd:string }+ + }* + diff --git a/xml/schema/filter_virt_db.rng b/xml/schema/filter_virt_db.rng new file mode 100644 index 0000000..8c3a338 --- /dev/null +++ b/xml/schema/filter_virt_db.rng @@ -0,0 +1,68 @@ + + + + + + virt_db + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_virt_db.xsd b/xml/schema/filter_virt_db.xsd new file mode 100644 index 0000000..a7d329f --- /dev/null +++ b/xml/schema/filter_virt_db.xsd @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_z3950_client.rnc b/xml/schema/filter_z3950_client.rnc new file mode 100644 index 0000000..1d7d34c --- /dev/null +++ b/xml/schema/filter_z3950_client.rnc @@ -0,0 +1,31 @@ +# 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/ + +namespace mp = "http://indexdata.com/metaproxy" + +filter_z3950_client = + attribute type { "z3950_client" }, + attribute id { xsd:NCName }?, + attribute name { xsd:NCName }?, + element mp:timeout { xsd:integer }?, + element mp:default_target { xsd:string }?, + element mp:force_target { xsd:string }?, + element mp:force_close { xsd:boolean }? + diff --git a/xml/schema/filter_z3950_client.rng b/xml/schema/filter_z3950_client.rng new file mode 100644 index 0000000..3a1f6ee --- /dev/null +++ b/xml/schema/filter_z3950_client.rng @@ -0,0 +1,59 @@ + + + + + + z3950_client + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/filter_z3950_client.xsd b/xml/schema/filter_z3950_client.xsd new file mode 100644 index 0000000..a60934b --- /dev/null +++ b/xml/schema/filter_z3950_client.xsd @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/xml/schema/local.xsd b/xml/schema/local.xsd new file mode 100644 index 0000000..eea7398 --- /dev/null +++ b/xml/schema/local.xsd @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/xml/schema/metaproxy.rnc b/xml/schema/metaproxy.rnc index 12a44b3..14295ad 100644 --- a/xml/schema/metaproxy.rnc +++ b/xml/schema/metaproxy.rnc @@ -1,6 +1,6 @@ # Metaproxy XML config file schemas # -# Copyright (c) 2005-2008 Index Data. +# Copyright (C) 2005-2011 Index Data. # # See the LICENSE file for details # @@ -18,12 +18,28 @@ # For information on RelaxNG see http://relaxng.org # see also http://books.xmlschemata.org/relaxng/ - namespace mp = "http://indexdata.com/metaproxy" start |= metaproxy include "retrievalinfo.rnc" +include "filter_auth_simple.rnc" +include "filter_backend_test.rnc" +include "filter_bounce.rnc" +include "filter_cgi.rnc" +include "filter_cql_rpn.rnc" +include "filter_frontend_net.rnc" +include "filter_http_file.rnc" +include "filter_limit.rnc" +include "filter_load_balance.rnc" +include "filter_log.rnc" +include "filter_multi.rnc" +include "filter_query_rewrite.rnc" +include "filter_record_transform.rnc" +include "filter_session_shared.rnc" +include "filter_sru_z3950.rnc" +include "filter_virt_db.rnc" +include "filter_z3950_client.rnc" any = (text | element * { attribute * { text }*, any })* @@ -64,173 +80,7 @@ filter = | filter_sru_z3950 | filter_virt_db | filter_z3950_client -# | filter_zeerex_explain } filter_refid = attribute refid { xsd:NCName } -filter_auth_simple = - attribute type { "auth_simple" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }?, - element mp:userRegister { xsd:string }?, - element mp:targetRegister { xsd:string }?, - element mp:discardUnauthorisedTargets { empty }? - -filter_backend_test = - attribute type { "backend_test" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }? - -filter_bounce = - attribute type { "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:connect-max { xsd:integer }? - -filter_http_file = - attribute type { "http_file" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }?, - element mp:mimetypes { xsd:string }, - element mp:area { - element mp:documentroot { xsd:string }, - 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 }? - }? - -filter_multi = - attribute type { "multi" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }?, - element mp:target { - attribute route { xsd:string }, - xsd:string - }*, - element mp:hideunavailable { empty }?, - element mp:mergetype { xsd:string }? - -filter_query_rewrite = - attribute type { "query_rewrite" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }?, - element mp:xslt { - attribute stylesheet { xsd:string } - } - -filter_record_transform = - attribute type { "record_transform" }, - attribute id { xsd:NCName }?, - attribute name { xsd:NCName }?, - retrievalinfo - -filter_session_shared = - attribute type { "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 } - }?, - element mp:session { - attribute ttl { xsd:integer } - }? - -filter_sru_z3950 = - attribute type { "sru_z3950" }, - attribute id { 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: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: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_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 -# }+ - - diff --git a/xml/schema/metaproxy.rng b/xml/schema/metaproxy.rng index 602ea75..a5668fc 100644 --- a/xml/schema/metaproxy.rng +++ b/xml/schema/metaproxy.rng @@ -2,7 +2,7 @@ @@ -110,499 +126,4 @@ - - - auth_simple - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - backend_test - - - - - - - - - - - - - - - bounce - - - - - - - - - - - - - - - cql_rpn - - - - - - - - - - - - - - - - - - - - frontend_net - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - http_file - - - - - - - - - - - - - - - - - - - - - - - - - - load_balance - - - - - - - - - - - - - - - log - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - multi - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - query_rewrite - - - - - - - - - - - - - - - - - - - - record_transform - - - - - - - - - - - - - - - - session_shared - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - sru_z3950 - - - - - - - - - - - - - - - - - - - - - - - virt_db - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - z3950_client - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - limit - - - - - - - - - - - - - - - - - - - - - - - - - - - - - cgi - - - - - - - - - - - - - diff --git a/xml/schema/metaproxy.xsd b/xml/schema/metaproxy.xsd index 8fb6159..d7cd6fa 100644 --- a/xml/schema/metaproxy.xsd +++ b/xml/schema/metaproxy.xsd @@ -2,7 +2,7 @@ + + + + + + + + + + + + + + @@ -84,7 +98,7 @@ - + @@ -121,395 +135,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/xml/schema/retrievalinfo.rnc b/xml/schema/retrievalinfo.rnc index 7270a7f..8d3a5f5 100644 --- a/xml/schema/retrievalinfo.rnc +++ b/xml/schema/retrievalinfo.rnc @@ -1,6 +1,6 @@ # Metaproxy XML config file schemas # -# Copyright (c) 2005-2008 Index Data. +# Copyright (C) 2005-2011 Index Data. # # See the LICENSE file for details # diff --git a/xml/schema/retrievalinfo.rng b/xml/schema/retrievalinfo.rng index 1ecb303..5056537 100644 --- a/xml/schema/retrievalinfo.rng +++ b/xml/schema/retrievalinfo.rng @@ -2,7 +2,7 @@ +