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
b5d65c7f
Commit
b5d65c7f
authored
May 24, 2022
by
buergiss
Browse files
License headers
parent
cd566933
Pipeline
#670
failed with stages
in 3 minutes and 57 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tools/schema_validation/config_schema.xsd
View file @
b5d65c7f
<!--
###############################################################################
# Copyright 2022 WSL Institute for Snow and Avalanche Research SLF-DAVOS #
###############################################################################
This file is part of INIshell.
INIshell is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
INIshell is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with INIshell. If not, see <http://www.gnu.org/licenses/>.
-->
<?xml version="1.0"?>
<!-- Important: This schema adheres to the XSD 1.1 standard. Validating it with an XSD 1.0-based validator will result in errors -->
...
...
tools/schema_validation/settings_schema.xsd
View file @
b5d65c7f
<!--
###############################################################################
# Copyright 2022 WSL Institute for Snow and Avalanche Research SLF-DAVOS #
###############################################################################
This file is part of INIshell.
INIshell is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
INIshell is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with INIshell. If not, see <http://www.gnu.org/licenses/>.
-->
<?xml version="1.0"?>
<xsd:schema
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
>
...
...
tools/schema_validation/validate.py
View file @
b5d65c7f
###############################################################################
# Copyright 2022 WSL Institute for Snow and Avalanche Research SLF-DAVOS #
###############################################################################
# This file is part of INIshell.
# INIshell is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# INIshell is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with INIshell. If not, see <http://www.gnu.org/licenses/>.
"""
Validation of XML files based on a given XSD schema
...
...
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