Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934e991 commit c44e0e6Copy full SHA for c44e0e6
1 file changed
.travis/validate_report_files.sh
@@ -36,7 +36,7 @@ function ValidateHtml {
36
}
37
38
function ValidateXML() {
39
- echo "Validate File $1 against schema $2"
+ echo "Validate File $2 against schema $1"
40
VALIDATION_RESULT=$(java -jar $XML_VALIDATOR -s $1 $2 2>&1)
41
42
if [ $? -ne 0 ]; then
@@ -53,7 +53,7 @@ ValidateHtml "$HTML_FILENAME"
53
54
for XMLFILE in "${!XML_FILES[@]}"; do
55
#echo "$XMLFILE" "${XML_FILES[$XMLFILE]}";
56
- ValidateXML "$XMLFILE" "XSD_DIR/${XML_FILES[$XMLFILE]}"
+ ValidateXML "XSD_DIR/${XML_FILES[$XMLFILE]}" "$XMLFILE"
57
done
58
59
if [ $GL_VALID -ne 1 ]; then
0 commit comments