From f11a3875a564af20236bd760c4153ed31faef77c Mon Sep 17 00:00:00 2001
From: Martin Killenberg <martin.killenberg@desy.de>
Date: Fri, 18 Aug 2017 13:31:43 +0200
Subject: [PATCH] added script for external schema validation of the xml files.
 needs xmllint, not run automatically.

---
 tests/xml_schema_validation.sh | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100755 tests/xml_schema_validation.sh

diff --git a/tests/xml_schema_validation.sh b/tests/xml_schema_validation.sh
new file mode 100755
index 0000000..ac002f4
--- /dev/null
+++ b/tests/xml_schema_validation.sh
@@ -0,0 +1,5 @@
+#!/bin/bash 
+
+for f in *.xml variableTreeXml/*.xml; do
+    xmllint --noout --schema ../xmlschema/doocs_variable_tree.xsd $f
+done
-- 
GitLab