@Test
public void testInvalidSchemaLanguage() throws Exception {

	Resource resource = new ClassPathResource("schema.xsd", AbstractValidatorFactoryTestCase.class);
	try {
		XmlValidatorFactory.createValidator(resource, "bla");
		Assert.fail("IllegalArgumentException expected");
	} catch (IllegalArgumentException ex) {
		// expected
	}
}