create tests for resolvers

This commit is contained in:
Andreas Penski (init) 2020-05-04 16:27:55 +02:00
parent 7671977249
commit edb8427dec
11 changed files with 187 additions and 94 deletions

View file

@ -1,7 +1,13 @@
package de.kosit.validationtool.impl.xml;
import javax.xml.validation.SchemaFactory;
public class RemoteResolvingStrategy extends StrictLocalResolvingStrategy {
@Override
public SchemaFactory createSchemaFactory() {
final SchemaFactory schemaFactory = super.createSchemaFactory();
allowExternalSchema(schemaFactory, "https,http,file");
return schemaFactory;
}
}