<?xml version="1.0" encoding="UTF-8"?>
<grammar xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <!--
    xmlsec-ghc-allowAnyForeign.rnc
    
    Copyright 2011 W3C (Massachusetts Institute of Technology, 
    Institut National de Recherche en Informatique et en Automatique, 
    Keio University). All Rights Reserved.  http://www.w3.org/Consortium/Legal/
    
    Use and distribution of all schemas in this directory are permitted under the terms
    W3C Software Notice and License
    http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
    
    This schema mimicks <any namespace="##other" ../> in 
    xmlsec-ghc-schema.xsd, thus allowing any parameter 
    and any value for the attribute "Algorithm".
    
    Schema authors might want to create a dedicated schema 
    for a collection of particular algorithms rather than 
    using this schema.
  -->
  <define name="gh_KeyEncapsulationMethodParams" combine="choice">
    <attribute name="Algorithm">
      <data type="anyURI">
        <except>
          <ref name="gh_KeyEncapsulationAlgorithms"/>
        </except>
      </data>
    </attribute>
    <zeroOrMore>
      <ref name="security_anyElement"/>
    </zeroOrMore>
  </define>
</grammar>
