From 87d58af09dc7077492655b1df07bbbf389e3bffd Mon Sep 17 00:00:00 2001 From: mcentner Date: Fri, 19 Sep 2008 15:02:59 +0000 Subject: Made SPSS ConfigurationPartsBuilder namespace aware. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1092 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spss/server/serverlib/src/main/java/at/gv') diff --git a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java index 20628465a..058ce5280 100644 --- a/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java +++ b/spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java @@ -887,7 +887,8 @@ public class ConfigurationPartsBuilder { info("config.22", new Object[] { profileRoot, id, profileFile.getAbsoluteFile()}); Element profile = loadProfile(profileFile); - if (profile.getTagName().equals(profileRoot)) + if (Constants.MOA_NS_URI.equals(profile.getNamespaceURI()) && + profile.getLocalName().equals(profileRoot)) { profiles.put(id, profile); } -- cgit v1.2.3