diff --git a/misc/config_tools/schema/checks/check_the_checkers.sh b/misc/config_tools/schema/checks/check_the_checkers.sh new file mode 100755 index 000000000..754ffc6ee --- /dev/null +++ b/misc/config_tools/schema/checks/check_the_checkers.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +# Copyright (C) 2022 Intel Corporation. +# SPDX-License-Identifier: BSD-3-Clause + +checks_dir=$(dirname $0) +for checker in ${checks_dir}/*.xsd; do + xmllint --noout --schema ${checks_dir}/schema_of_checks/main.xsd ${checker} +done diff --git a/misc/config_tools/schema/checks/schema_of_checks/custom_annot.xsd b/misc/config_tools/schema/checks/schema_of_checks/custom_annot.xsd new file mode 100644 index 000000000..4c6e231bc --- /dev/null +++ b/misc/config_tools/schema/checks/schema_of_checks/custom_annot.xsd @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + diff --git a/misc/config_tools/schema/checks/schema_of_checks/main.xsd b/misc/config_tools/schema/checks/schema_of_checks/main.xsd new file mode 100644 index 000000000..cee0ea9b7 --- /dev/null +++ b/misc/config_tools/schema/checks/schema_of_checks/main.xsd @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +