diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java b/common/src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java index 0401108d5..8f3ffd4c6 100644 --- a/common/src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java +++ b/common/src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java @@ -91,13 +91,11 @@ public class MOAEntityResolver implements EntityResolver { try { URI uri = new URI(systemId); systemId = uri.getPath(); - System.out.println("MOAEntityResover: " + uri); + if (!"file".equals(uri.getScheme()) || "".equals(systemId.trim())) { return null; } - //ExternalURIVerifier.verify(uri.getHost(), uri.getPort()); - } catch (MalformedURIException e) { return null; } |