Skip to content

Validate schema

Davood Sooran edited this page Apr 5, 2024 · 2 revisions

Schema validation serves as a critical validation tool, ensuring that there are no schema-related issues when saving the project. Since the schema defines the structure of the SCL, it guarantees interoperability and should be considered a fundamental requirement.

Under the hood, we utilize the industry-standard for schema validation libxml2. The external library can also be utilized by other web-based tools. We have created another repository, xmlvalidate.js, which enables the use of schema validation.

The results of schema validation, including any issues encountered, are displayed in the diagnostics pane. It's essential to note when there are no issues, indicating successful schema validation, which is ultimately the desired outcome.

1. About OpenSCD

4.2 XML editor - pro mode

6.1 Report

6.2 GOOSE

Clone this wiki locally