[editor] Update editor.config and config.xsd xml root

Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
Konstantin Pastbin
2025-05-22 19:32:02 +07:00
parent 3c7c8658fd
commit a08110e83d
2 changed files with 5 additions and 5 deletions

View File

@@ -2,16 +2,16 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
This XML Schema document defines validation rules for editor.xml and other OMaps configurations XMLs. This XML Schema document defines validation rules for editor.xml and other configurations XMLs.
Run it with: Run it with:
xmllint --noout --schema config.xsd editor.xml xmllint --noout --schema config.xsd editor.xml
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>
<xs:element name="omaps"> <xs:element name="comaps">
<xs:annotation> <xs:annotation>
<xs:documentation> <xs:documentation>
The root element, "omaps", for now contains only one entry, "editor". The root element for now contains only one entry, "editor".
</xs:documentation> </xs:documentation>
</xs:annotation> </xs:annotation>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<omaps> <comaps>
<!-- After editing, validate this with <!-- After editing, validate this with
xmllint -noout -schema config.xsd editor.config xmllint -noout -schema config.xsd editor.config
(only use double dashes for schema and noout) (only use double dashes for schema and noout)
@@ -1432,4 +1432,4 @@
</type> </type>
</types> </types>
</editor> </editor>
</omaps> </comaps>