diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index 12765e3e..c1643669 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -471,7 +471,8 @@ BuildFileArrays() { echo "${FILE}" >>"${FILE_ARRAYS_DIRECTORY_PATH}/file-array-TSX" elif [ "${FILE_TYPE}" == "txt" ]; then echo "${FILE}" >>"${FILE_ARRAYS_DIRECTORY_PATH}/file-array-TXT" - elif [ "${FILE_TYPE}" == "xml" ]; then + elif [ "${FILE_TYPE}" == "xml" ] || + [ "${FILE_TYPE}" == "xsd" ]; then echo "${FILE}" >>"${FILE_ARRAYS_DIRECTORY_PATH}/file-array-XML" elif [ "${FILE_TYPE}" == "yml" ] || [ "${FILE_TYPE}" == "yaml" ]; then echo "${FILE}" >>"${FILE_ARRAYS_DIRECTORY_PATH}/file-array-YAML" diff --git a/test/linters/xml/xsd_bad_1.xsd b/test/linters/xml/xsd_bad_1.xsd new file mode 100644 index 00000000..6949269f --- /dev/null +++ b/test/linters/xml/xsd_bad_1.xsd @@ -0,0 +1,7 @@ + + + diff --git a/test/linters/xml/xsd_good_1.xsd b/test/linters/xml/xsd_good_1.xsd new file mode 100644 index 00000000..69e4877d --- /dev/null +++ b/test/linters/xml/xsd_good_1.xsd @@ -0,0 +1,6 @@ + + +