cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Poetz <reinh...@apache.org>
Subject Re: Spring bean names
Date Fri, 07 Dec 2007 16:36:24 GMT
Vadim Gritsenko wrote:
> On Dec 7, 2007, at 9:25 AM, Reinhard Poetz wrote:
> 
>> Vadim Gritsenko wrote:
>>> On Dec 7, 2007, at 2:59 AM, Carsten Ziegeler wrote:
>>>> Vadim Gritsenko wrote:
>>>>>
>>>>> Thanks for quick fix! btw why bean is named
>>>>> "org.apache.cocoon.portal.om.CopletAdapter.cocoon" and not
>>>>> "org.apache.cocoon.portal.om.CopletAdapter/cocoon"?
>>>>>
>>>> Good question - to be honest, I don't know :)
>>>> I think there were some problems with using a "/" in Spring bean names
>>> Hmm... That's bad.
>>
>> It's not really a problem. You can't use "/" in id attributes. That 
>> was the reason why <bean name=""/> was introduced because Spring 
>> webflow needed a way to put URIs into bean ids.
> 
> But we are talking about name attribute? Is there a problem with it too?

No. The name attribute is of type xsd:string, which allows "/" as value. The id 
attribute is of type xsd:id which doesn't.

-- 
Reinhard Pötz                            Managing Director, {Indoqa} GmbH
                           http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member, PMC Chair        reinhard@apache.org
_________________________________________________________________________

Mime
View raw message