付録C.1 実行環境参照定義ファイル,およびMSH実行環境定義ファイルで使用するXMLスキーマ

実行環境参照定義ファイル,およびMSH実行環境定義ファイルで使用するXMLスキーマを次に示します。

<?xml version="1.0" encoding="Shift_JIS"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.hitachi.co.jp/soft/xml/ebxml/msh/common/configuration/config/config.xsd"
xmlns="http://www.hitachi.co.jp/soft/xml/ebxml/msh/common/configuration/config/config.xsd">

<xsd:element name="Key">
   <xsd:complexType>
       <xsd:simpleContent>
           <xsd:extension base="xsd:string">
               <xsd:attribute name="id" use="required" type="non-empty-string" />
           </xsd:extension>
       </xsd:simpleContent>
   </xsd:complexType>
</xsd:element>

<xsd:element name="Key">
   <xsd:complexType>
       <xsd:simpleContent>
           <xsd:extension base="xsd:string">
               <xsd:attribute name="id" use="required" type="non-empty-string" />
           </xsd:extension>
       </xsd:simpleContent>
   </xsd:complexType>
</xsd:element>

<xsd:element name="Container">
   <xsd:complexType>
       <xsd:sequence>
           <xsd:element ref="Key" maxOccurs="255" />
       </xsd:sequence>
           <xsd:attribute name="id" use="required" type="non-empty-string" />
   </xsd:complexType>
</xsd:element>

<xsd:element name="Configuration">
   <xsd:complexType>
       <xsd:sequence>
           <xsd:element ref="Container" maxOccurs="255" />
       </xsd:sequence>
   </xsd:complexType>
</xsd:element>

<xsd:simpleType name="non-empty-string">
   <xsd:restriction base="xsd:string">
       <xsd:minLength value="1"/>
   </xsd:restriction>
</xsd:simpleType>

</xsd:schema>