367   LNodeTypeKey schema constraint failure when using the IED type attribute in the data type templates

Created: 24 Aug 2006

Status: Not Applicable

Part: Part 6 (2004)

Links:

Page:

Clause: 9.5.1

Paragraph:

Category: No impact on this part

Issue


When a data type template identifier is shared among multiple devices but their contents are different, the 'iedType' attribute as described in clause 9.5.1 can be used to identify which data type templates are for a particular IED. If the 'iedType' attribute is not used, potentially, the data type templates can have the same id (with different contents) and therefore will fail the validation against the schema rules.

For example, validating the following xml syntax will fail because the LNodeType is not unique within the file (see the uniqueLNodeType constraint in clause 9.5.1)....

<LNodeType id="GGIO_IND_32" desc="Generic Process I/O (w.r.t 32 Indication Elements)" lnClass="GGIO">
...
</LNodeType>

<LNodeType id="GGIO_IND_32" desc="Generic Process I/O (w.r.t 32 Indication Elements)" lnClass="GGIO">
...
</LNodeType>

With the modified xml syntax below, the uniqueLNodeType constraint is satisfied therefore validation should be successful....

<LNodeType id="GGIO_IND_32" desc="Generic Process I/O (w.r.t 32 Indication Elements)" lnClass="GGIO" iedType="1">
...
</LNodeType>

<LNodeType id="GGIO_IND_32" desc="Generic Process I/O (w.r.t 32 Indication Elements)" lnClass="GGIO">
...
</LNodeType>

But it fails on the LNodeTypeKey constraint (see A.6). This key constraint states that a data type template must be unique with respect to the 'id' and 'lnClass' attributes whereas the uniqueLNodeType constraint states that the LNodeType element (which is a type of data type template) must be unique based on the 'id' and 'iedType' attributes - but not the 'lnClass'. Therefore, it seems that it is not possible to utilise the 'iedType' attribute as specified in the standard due to this conflict in the rules.

Proposal


Solution to be proposed.

Discussion Created Status
The wanted uniqueness is that of the LNodeType id, i.e. it is OK that both examples above fail (see LNodeTypeKey constraint). Further, the rule including lnClass checks that the lnClass an the LN instance and LNodeType definition are the same. The purpose of the iedType is just to show, that this LNodeType is reserved for a specific IED type, and may not be used by some other IED type. 05 Sep 06 Not Applicable

 

Privacy | Contact | Disclaimer

Tissue DB v. 23.12.13.1