<?xml version="1.0" encoding="UTF-8"?>
<!--
  xmldsig-properties-schema.rnc (derived from xmldsig-properties-schema.xsd)
-->
<!--
#
# Copyright ©[2011] World Wide Web Consortium 
# (Massachusetts Institute of Technology,  
#  European Research Consortium for Informatics and Mathematics, 
#  Keio University). All Rights Reserved.  
# This work is distributed under the W3C® Software License [1] in the
# hope that it will be useful, but WITHOUT ANY WARRANTY; without even
# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE. 
# [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
#
-->
<!--  
  This schema allows Profile, Role, and Identifier elements as children of SignatureProperty
  elements.
-->
<grammar ns="http://www.w3.org/2009/xmldsig-properties" xmlns="http://relaxng.org/ns/structure/1.0" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
  <define name="ds_SignaturePropertyChild" combine="choice">
    <choice>
      <ref name="dsp_Profile"/>
      <ref name="dsp_Role"/>
      <ref name="dsp_Identifier"/>
    </choice>
  </define>
  <define name="dsp_Profile">
    <element name="Profile">
      <ref name="dsp_ProfileType"/>
    </element>
  </define>
  <define name="dsp_ProfileType">
    <optional>
      <attribute name="URI">
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="dsp_Role">
    <element name="Role">
      <ref name="dsp_RoleType"/>
    </element>
  </define>
  <define name="dsp_RoleType">
    <optional>
      <attribute name="URI">
        <data type="anyURI"/>
      </attribute>
    </optional>
  </define>
  <define name="dsp_Identifier">
    <element name="Identifier">
      <data type="string"/>
    </element>
  </define>
</grammar>

