diff options
author | kstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2012-02-13 21:26:40 +0000 |
---|---|---|
committer | kstranacher <kstranacher@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2012-02-13 21:26:40 +0000 |
commit | 94eeead3b212889231ef633c4a721bba6993d8af (patch) | |
tree | 16ceb673f8bb9a7f94e0c1280fa241e3420dd9f1 /common/src/main/java/at/gv/egovernment/moa/util | |
parent | 583d95af8f722f60cf848e603f12f6c0be0e9a59 (diff) | |
download | moa-id-spss-94eeead3b212889231ef633c4a721bba6993d8af.tar.gz moa-id-spss-94eeead3b212889231ef633c4a721bba6993d8af.tar.bz2 moa-id-spss-94eeead3b212889231ef633c4a721bba6993d8af.zip |
* Update ExternalURIVerifier
* Neuer MOASPSSEntityResolver (inkl. Backlist-Check) für DataObjectFactory
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1239 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/main/java/at/gv/egovernment/moa/util')
-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; } |