The current restriction within a DOType is:
<xs:element name="DOType" type="tDOType" maxOccurs="unbounded">
<xs:unique name="uniqueDAorSDOInDOType">
<xs:selector xpath="./*"/>
<xs:field xpath="@name"/>
</xs:unique>
</xs:element>
But A DA or SDO can have several functional constraint (for instance SP, SE, SG1 ...)
Proposal
Change the restriction to:
<xs:element name="DOType" type="tDOType" maxOccurs="unbounded">
<xs:unique name="uniqueDAorSDOInDOType">
<xs:selector xpath="./*"/>
<xs:field xpath="@name"/>
<xs:field xpath="@fc"/>
</xs:unique>
</xs:element>
Discussion
Created
Status
The next edition of 7-3 (see CDV coming out in May / June) makes clear how this shall be interpreted - especially APC will be completely changed.
07 May 08
In Force (green)
However, standard 7-3 defines not only attributes which have simultaneously SG and SE functional constraints.
Such CDCs as "INC", "SPC", "DPC" have attributes "origin" and "ctlNum" of FC "CO" and "ST". CDC "APC" has attributes "setMag", "origin" of FC "SP", "MX".
Unfortunately, according to current SCL xml schema there is no way to express this situation when CDC instantiated in IED has attribute with two or more FC simultaneously.
To express the instantiation of such CDC in SCL one should write something like :
But this contradicts with SCL xml schema which impose uniqueness restriction on the attribute "name" of any element which reside inside of <DOType> ( uniqueDAorSDOInLDOType ).
06 May 08
In Force (green)
This has already been handled in Tissue 7. At the moment there is no need for an attribute with several FC's - see response to Tissue 7.