WSL/SLF GitLab Repository
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
inishell
Commits
cd566933
Commit
cd566933
authored
May 24, 2022
by
buergiss
Browse files
XSD: Basic validation of settings
parent
42f80e2e
Pipeline
#658
passed with stages
in 3 minutes and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cd566933
...
...
@@ -43,6 +43,7 @@ validate xml:
-
INISHELL_SIMULATIONS=$(find simulations/ -type f -name "*.xml")
-
INISHELL_DOCS=$(find resources/doc/ -type f -name "*.xml")
-
INISHELL_SETTINGS="resources/settings_dialog.xml"
-
python3 tools/schema_validation/validate.py tools/schema_validation/settings_schema.xsd resources/inishell_settings_minimal.xml
-
python3 tools/schema_validation/validate.py tools/schema_validation/config_schema.xsd $INISHELL_APP_CONFIGS $INISHELL_SIMULATIONS $INISHELL_DOCS $INISHELL_SETTINGS
Debian release build
:
...
...
tools/schema_validation/settings_schema.xsd
0 → 100644
View file @
cd566933
<?xml version="1.0"?>
<xsd:schema
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
>
<xsd:element
name=
"inishell_settings"
>
<xsd:complexType>
<xsd:sequence>
<xsd:any
processContents=
"skip"
minOccurs=
"0"
/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment