z3950_client filter: force_apdu facility
[metaproxy-moved-to-github.git] / xml / schema / metaproxy.rng
index 8530e45..769fd9d 100644 (file)
@@ -87,6 +87,7 @@
         <ref name="filter_auth_simple"/>
         <ref name="filter_backend_test"/>
         <ref name="filter_bounce"/>
+        <ref name="filter_cgi"/>
         <ref name="filter_cql_rpn"/>
         <ref name="filter_frontend_net"/>
         <ref name="filter_http_file"/>
           </attribute>
         </optional>
         <optional>
+          <attribute name="session">
+            <data type="boolean"/>
+          </attribute>
+        </optional>
+        <optional>
           <attribute name="apdu">
             <data type="boolean"/>
           </attribute>
         <attribute name="ttl">
           <data type="integer"/>
         </attribute>
+        <attribute name="optimizesearch">
+          <data type="boolean"/>
+        </attribute>
       </element>
     </optional>
     <optional>
         <data type="string"/>
       </element>
     </optional>
+    <optional>
+      <element name="mp:force_close">
+        <data type="boolean"/>
+      </element>
+    </optional>
   </define>
   <define name="filter_limit">
     <attribute name="type">
       </element>
     </optional>
   </define>
+  <define name="filter_cgi">
+    <attribute name="type">
+      <value>cgi</value>
+    </attribute>
+    <zeroOrMore>
+      <element name="mp:map">
+        <attribute name="path">
+          <data type="string"/>
+        </attribute>
+        <attribute name="exec">
+          <data type="string"/>
+        </attribute>
+      </element>
+    </zeroOrMore>
+  </define>
 </grammar>
 <!--
   filter_zeerex_explain =