projects
/
xmldoc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6c9ea
)
Schema validation of test data
author
Arjen Baart
<arjen@andromeda.nl>
Thu, 31 Oct 2019 21:16:29 +0000
(22:16 +0100)
committer
Arjen Baart
<arjen@andromeda.nl>
Thu, 31 Oct 2019 21:16:29 +0000
(22:16 +0100)
test/check
patch
|
blob
|
history
diff --git
a/test/check
b/test/check
index
190d0a0
..
f050145
100755
(executable)
--- a/
test/check
+++ b/
test/check
@@
-3,6
+3,13
@@
FILE=$1
STATUS=0
+xmllint --noout --schema ../doc.xsd $FILE.xml
+RESULT=$?
+if [ $STATUS == 0 ]
+then
+ STATUS=$RESULT
+fi
+
../xp ../html.xsl $FILE.xml >$FILE.html
diff $FILE.html.exp $FILE.html
RESULT=$?