mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-22 00:31:07 -05:00
parent
fe6e29b685
commit
a26db6d34d
3 changed files with 15 additions and 1 deletions
|
@ -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"
|
||||
|
|
7
test/linters/xml/xsd_bad_1.xsd
Normal file
7
test/linters/xml/xsd_bad_1.xsd
Normal file
|
@ -0,0 +1,7 @@
|
|||
<?xml version = "1.0" encoding = "UTF-8"?>
|
||||
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/rim.xsd,v 1.20 2005/02/03 19:28:15 farrukh_najmi Exp $ -->
|
||||
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
||||
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
||||
xmlns:xml="http://www.w3.org/XML/1998/names=
|
||||
<maxLength value="4"/>
|
6
test/linters/xml/xsd_good_1.xsd
Normal file
6
test/linters/xml/xsd_good_1.xsd
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version = "1.0" encoding = "UTF-8"?>
|
||||
<!-- $Header: /cvsroot/ebxmlrr/ebxmlrr-spec/misc/3.0/schema/rim.xsd,v 1.20 2005/02/03 19:28:15 farrukh_najmi Exp $ -->
|
||||
<schema targetNamespace="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
||||
xmlns="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:tns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0"
|
||||
xmlns:xml="http://www.w3.org/XML/1998/namespace" />
|
Loading…
Reference in a new issue