This is an editor plugin for open-scd-core, the new core editor engine for OpenSCD. On the long term this plugin will allow you to manage validation algorithms for SCL and see all issues found by the algorithms in a central place.
At this moment two type of validators are utilized by this plugin:
- XML Schema validator maintained in XML schema validator. The plugin is schema validating against either edition 1 (schema1.7), edition 2.1 (2007B4) and edition 2 (2007B)
- validation of the
DataTypeTemplates
section based on the namespace description files (NSD) published by IEC 61850 for the parts 7-2, 7-3. 7-4 and 8-1. The validator doing the bulk work is maintained here: template validator
- Export issues to other formats such as PDF, CSV and others
- Add communication validator including a
- check for unique MAC-Addresses, APPID, IP-Addresses etc.
- check that GOOSE publisher and subscriber are connected and on the same subnetwork
To scan the project for linting and formatting errors, run
npm run lint
To automatically fix linting and formatting errors, run
npm run format
To execute a single test run:
npm run test
To run the tests in interactive watch mode run:
npm run test:watch
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
npm start
To run a local development server that serves the basic demo located in demo/index.html
© Jakob Vogelsang