* Tests modifying an XML document and saving it with schema validation enabled.
*/
@Test
public void testSaveWithValidation() throws Exception
{
CatalogResolver resolver = new CatalogResolver();
resolver.setCatalogFiles(CATALOG_FILES);
conf = new XMLConfiguration();
conf.setEntityResolver(resolver);
conf.setFileName(testFile2);
conf.setSchemaValidation(true);
conf.load();