Fixed bug with wrong error showing when it no XSD was found.