mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-10-22 04:41:28 +00:00
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>
10 lines
243 B
Bash
Executable File
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
|