markfisher/spring-integration — comment on commit 099009798471433985ff83820b4ad37952b8d260
File:  line 0
By olegz:

Looking at the method itself the Regex seems to be not as crisp as it needs to be considering this is a validation method
The xsd.* wil allow things like .xsd.bar.baz where I don't think we want that.

Also, it should probably be ...[a-z]*\.xsd$ since .xsd$ will also match !xsd but \.xsd$ will only match .xsd