-
Notifications
You must be signed in to change notification settings - Fork 38
Validate template
The templates validator serves a distinct purpose from the schema validator by identifying issues that are not related to the schema defined in IEC 61850-6, but rather with other sections of the standard such as IEC 61850-7-3, IEC 61850-7-4, and IEC 61850-8-1.
NOTE: It's important to note that OpenSCD utilizes namespace description (NSD) files as a reference for validation purposes, as per the standard's guidelines. However, these files are not available for all editions of the standard. Consequently, the validation of the
DataTypeTemplate
section is only performed for projects from 2007B3 and higher (Edition 2.1).
The validator is activated with each modification to the project basis, and the outcomes are exhibited in the diagnostics pane as follows:
The implemented rules currently address the following issues:
- Mandatory
DO
is missing inLNodeType
- Mandatory
DA
is missing in theDOType
- Mandatory
SDO
is missing in theDOType
- Mandatory
BDA
is missing in theDAType
- Missing
DA
needed for control operation depending in ctlModel-
sbo-with-enhanced-security
: MissingOper
,SBOw
-
sbo-with-normal-security
: MissingOper
,SBO
-
direct-with-enhanced-security
: MissingOper
-
direct-with-normal-security
: MissingOper
-
- Check for correct service data implementation
Oper
, - Broken reference of
DO
toDOType
- missing type or invalid type - Broken reference of
SDO
toDOType
- missing type or invalid type - Broken reference of
DA
toDAType
- missing type or invalid type - Broken reference of
BDA
toDAType
- missing type or invalid type