aboutsummaryrefslogtreecommitdiff
path: root/spss/server
diff options
context:
space:
mode:
authormcentner <mcentner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2008-09-19 15:02:59 +0000
committermcentner <mcentner@d688527b-c9ab-4aba-bd8d-4036d912da1d>2008-09-19 15:02:59 +0000
commit87d58af09dc7077492655b1df07bbbf389e3bffd (patch)
tree4a0d87fadb1f28bac6c308643f474d3b60ce2444 /spss/server
parent527f2ec316c6d67498ed6dfe37a95218a2ab6f54 (diff)
downloadmoa-id-spss-87d58af09dc7077492655b1df07bbbf389e3bffd.tar.gz
moa-id-spss-87d58af09dc7077492655b1df07bbbf389e3bffd.tar.bz2
moa-id-spss-87d58af09dc7077492655b1df07bbbf389e3bffd.zip
Made SPSS ConfigurationPartsBuilder namespace aware.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@1092 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss/server')
-rw-r--r--spss/server/serverlib/src/main/java/at/gv/egovernment/moa/spss/server/config/ConfigurationPartsBuilder.java3
1 files changed, 2 insertions, 1 deletions
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);
}