ГОСТ Р МЭК 61850-6—2009
Приложение А
(обязательное)
Синтаксис языка SCL: определение XML schema
А.1 Базовые типы
Файл SCL_BaseSimpleTypes.xsd
<?xml verskjn=’1.0" encoding="UTF-8’?>
<xs:schema 1агде1Иате5расе=’ЬНр://ул\™.»вс.сЬ/61850/2003/5С1-’
xmlns=’http:.,/wvftv.iec.chj61850/2003ilSCL’
xmlns:xs=*http:/i4vvAv.w3.ofg/2001/XMLSchema" elementFormDefault=’qualified’ attributeFormDe-
fault=*unqualified"
version=H1,0">
<xs:annotation>
<xs:documentatk>n xml:lang=’en">COPYRlGHT IEC. 2003. Version 1.0. Release 2003/09/19.
(Uncommented)</xs:documentation>
</xs:annotalion>
<xs:simpleType name=’tReF>
<xs:restriction base=*xs:normalizedString*>
<xs:pattern value=’.+/.+/.+/.+"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name=HtAnyName">
<xs:restriction base=*xs:normalizedString"/>
</xs:simpleType>
<xs:simpleType name=’tName">
<xs:restrictk>n base="tAnyName">
<xs:minLength value="17>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tRestrName">
<xs:restriction base=’xs:Name*>
<xs:pattern value=“[\d.\p{L}]+7>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name=’4RestrName1stU’>
<xs:restriction base="xs:Name">
<xs:pattem value="\p{Lu}[\d.\p{L}]‘7>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="tRestrName1stL">
<xs:restriction base=’xs:Name”>
<xs:pattern value=‘\p{LIH\d,\p{L}]‘7>
</xs:restriction»
</xs:simpleType>
<xs:simpteType name="tPAddr’>
<xs:restriction base=’xs:normalizedString*>
<xs:minLength value="17>
</xs:restriction>
</xs:simpleType>
</xs:schema>
Файл SCL_Enums.xsd
<?xml vers»on=*1.0" encoding="UTF-8’?>
<xs:schema targetNamespace=*
http://www.iec.ch/61850/2003/SCL
"
xmlns=*
http://wwvv.iec.ch/61850/2003/SCL*
xmlns.xs=*http:/Avww.w3.org/2001/XMLSchema" elementFormDe(ault=’qualified" attributeFormDe-
fault=’unqualified"
version="1.0">
<xs:annotabon>
78