directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Zoerner <ste...@labeo.de>
Subject server.xml: Redundanz XML namespaces? (was: [ApacheDS] [XBeans] [Spring] Any issue with moving to spring 2.5?)
Date Thu, 28 Aug 2008 20:34:12 GMT
Hi all!

It seems that with the current server.xml we have two namespaces used 
for "native" Spring stuff:

<spring:beans xmlns:spring="http://xbean.apache.org/schemas/spring/1.0"
               xmlns:s="http://www.springframework.org/schema/beans"
	      xmlns="http://apacheds.org/config/1.0">

I have modified my server.xml to use only elements with "s" prefix, and 
it works fine. Is there any reason why I need both? Any 
advantages/features within http://xbean.apache.org/schemas/spring/1.0?

If not, I recommend to remove the 
"http://xbean.apache.org/schemas/spring/1.0" namespace from the XML and 
use only "http://www.springframework.org/schema/beans". By the way I 
like the idea of using the "spring" prefix. It is longer, but of cause 
using native Spring should be the exception. With this, our users get a 
hint for the magic behind the scenes.

Thanks for clarification/opinions.

Greetings from Hamburg,
      Stefan



Mime
View raw message