From 94eeead3b212889231ef633c4a721bba6993d8af Mon Sep 17 00:00:00 2001 From: kstranacher Date: Mon, 13 Feb 2012 21:26:40 +0000 Subject: =?UTF-8?q?*=20Update=20ExternalURIVerifier=20*=20Neuer=20MOASPSSE?= =?UTF-8?q?ntityResolver=20(inkl.=20Backlist-Check)=20f=C3=BCr=20DataObjec?= =?UTF-8?q?tFactory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1239 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../src/main/java/at/gv/egovernment/moa/util/MOAEntityResolver.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'common/src/main/java/at/gv/egovernment/moa/util') 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; } -- cgit v1.2.3