From d28ec7c9b309325d47e3cd3a99a4ae2cba269098 Mon Sep 17 00:00:00 2001 From: "harald.bratko" Date: Thu, 27 Apr 2006 13:04:16 +0000 Subject: Changed method getSLPrefix to in all cases retrieve SecurityLayer namespace from the namespace uri - and not use the actual prefix if present. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@705 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../src/at/gv/egovernment/moa/util/XPathUtils.java | 50 ++++++++++------------ 1 file changed, 23 insertions(+), 27 deletions(-) (limited to 'common/src/at/gv/egovernment') diff --git a/common/src/at/gv/egovernment/moa/util/XPathUtils.java b/common/src/at/gv/egovernment/moa/util/XPathUtils.java index 7c412567a..dfb14697b 100644 --- a/common/src/at/gv/egovernment/moa/util/XPathUtils.java +++ b/common/src/at/gv/egovernment/moa/util/XPathUtils.java @@ -420,10 +420,14 @@ public class XPathUtils { /** * Return the SecurityLayer namespace prefix of the context element. - * If the context element has no prefix explicitely set (i.e. is specified - * within the default namespace), the method sets the prefix - * according to the value of the xmlns attribute of the context - * element. + * The method sets the prefix according to the value of the + * namespace URI of the context element: + *