Files
acrn-hypervisor/misc/config_tools/schema/checks/check_the_checkers.sh
Junjie Mao cfcea64976 config_tools: add schema of checker schemas
This patch adds a (meta) XML schema of those XML schema files specifying
the validation rules (using xs:assert constructs). This provide integrators
with a mechanism to confirm the well-formedness of those rules, especially
the customized annotations for advanced error reporting.

Tracked-On: #6690
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
2022-03-16 10:44:16 +08:00

10 lines
243 B
Bash
Executable File

#!/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