ГОСТ Р ИСО 15745-1—2010
Окончание таблицы 2
Атрибут
Описание
Profile Identification
См. таблицу 1
ProfileRevision
См. таблицу 1
ProfileLocationАдрес файла документа профиля.
Тип данных XML: anyURI.
Пример —
http://myserver.de/abc-123-xx.xml
7.2.6 Представление XML
Профили являются документами XML, которые при необходимости могут быть рассредоточе
ны. обработаны и воспроизведены. Шаблоны профилей могут быть представлены в виде «скелетов»
для схем XML. «Скелетная» схема XML (исключая информацию по пространству имен целевых
объ ектов) для основного шаблона профилей показана на рисунке 6.
<?xml version=1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="
http://www.w3.org/2001
/XMLSchema"
xmlns:ds="
http://www.w3.org/2000/09/xmldsig#”
>
<xsd:import namespace="
http://www.w3.org/2000/09/xmldsig«
"
schemaLocation="xmldsig-core-schema.xsd"/>
<!- Target namespaces are not specified in this master template ~>
<xsd:element name="IS015745Profile">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="ProfileHeader" type="ProfileHeader_DataType"/>
<xsd:choice>
<xsd:element name="ProfileBody" type="ProfileBody_DataType"7>
<!- This "abstract type" definition format is mandatory if a profile container
is used (see 7.4).
If desired, this definition format can also be used without a profile container. ->
<xsd:element ref="ProfileBody"/>
</- This "legacy“ definition format shall not be used if a profile container is
used (see 7.4) ->
</xsd:choice>
<xsd:element name=”Signature” type="ds:SignatureType" minOccurs=”0" maxOccurs="1"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
<xsd:annotation>
<xsd:documentation>* HEADER SECTION *</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="ProfileHeader_DataType">
<xsd:sequence>
<xsd:element name="Profileldentification" type="xsd:string’7>
<xsd:element name="ProfileRevision“ type="xsd:string”/>
<xsd:element name="ProfileName" type=”xsd:string"/>
<xsd:element name=”ProfileSource" type="xsd:string"/>
<xsd:element name="ProfileClasslD" type="ProfileClasslD_DataType”/>
<xsd:element name=”ProfileDate*’ type="xsd:date" minOccurs="0" maxOccurs="1“/>
<xsd:element name^Additionallnformation" type-’xsdianyURI” minOccurs=’’0" maxOccurs=’’1"/>
<xsd:element name=”IS015745Reference" type="IS015745Reference_DataType"/>
<xsd:element name=’*IASInterfaceType" type="IASInterface_DataType" minOccurs=”0"
maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
<xsd:annotation>
<xsd:documentation>’ BODY SECTION *</xsd:documentation>
</xsd:annotation>
<xsd:complexType name="ProfileBody_DataType" abstract="true"/>
<!- If the "abstract type" definition format is used, the profile body details shall be specified in the actual
profile body data types that will be mapped to this abstract type. ->
<xsd:element name="ProfileBody">
13