updated windows build to include the filters zeerex_explain and load_balance
[metaproxy-moved-to-github.git] / xml / schema / metaproxy.rnc
index 56f403d..340221f 100644 (file)
@@ -1,5 +1,5 @@
 # Metaproxy XML config file schemas
-#  $Id: metaproxy.rnc,v 1.11 2006-12-01 12:37:26 marc Exp $
+#  $Id: metaproxy.rnc,v 1.14 2007-01-05 11:28:48 marc Exp $
 # 
 #   Copyright (c) 2005-2006, Index Data.
 # 
@@ -26,6 +26,8 @@ start |= metaproxy
 
 include "retrievalinfo.rnc"
 
+any = (text | element * { attribute * { text }*, any })*
+
 metaproxy =
   element mp:metaproxy {
     attribute version { "1.0" },
@@ -50,6 +52,7 @@ filter =
     | filter_bounce
     | filter_frontend_net
     | filter_http_file
+    | filter_load_balance
     | filter_log
     | filter_multi
     | filter_query_rewrite
@@ -58,6 +61,7 @@ filter =
     | filter_sru_z3950
     | filter_virt_db
     | filter_z3950_client
+    | filter_zeerex_explain
   }
 
 filter_refid = attribute refid { xsd:NCName }
@@ -98,6 +102,11 @@ 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 }?,
@@ -169,3 +178,14 @@ filter_z3950_client =
   attribute id { xsd:NCName }?,
   attribute name { xsd:NCName }?,
   element mp:timeout { xsd:integer }?
+
+filter_zeerex_explain =
+  attribute type { "zeerex_explain" },
+  attribute id { xsd:NCName }?,
+  attribute name { xsd:NCName }?,
+  element mp:database {  
+     attribute name { xsd:NCName },
+     any        
+  }+
+
\ No newline at end of file