Bug 16608 - Add xsd extension to t/00-valid-xml.t
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
8631ebaf9f
commit
ce97930016
|
|
@ -30,7 +30,7 @@ find({
|
|||
no_chdir => 1,
|
||||
wanted => sub {
|
||||
my $file = $_;
|
||||
return unless $file =~ /(\.xml|\.xsl|\.xslt)$/i;
|
||||
return unless $file =~ /(\.xml|\.xsl|\.xslt|\.xsd)$/i;
|
||||
my $dom;
|
||||
eval { $dom = $parser->parse_file($file); };
|
||||
if ($@) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue