mirror of
https://github.com/itplr-kosit/validator.git
synced 2026-05-25 16:55:39 +00:00
create tests for resolvers
This commit is contained in:
parent
7671977249
commit
edb8427dec
11 changed files with 187 additions and 94 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue