|
From: Tim K. <tim...@vi...> - 2004-08-05 20:48:06
|
Just noticed this a minute ago.. (again in the same code example) - the
ref bean examples seem to be closed out incorrectly. (two instances -
see below). I guess this illustrates how dangerous cut/paste/modify
can be. :D
<!-- results in a setSomeMap(java.util.Map) call -->
<property name="someMap">
<map>
<entry key="yup an entry">
<value>just some string</value>
</entry>
<entry key="yup a ref">
<ref bean="myDataSource"</ref> // <!---------
CLOSED OUT INCORRECTLY
</entry>
</map>
</property>
<!-- results in a setSomeSet(java.util.Set) call -->
<property name="someSet">
<set>
<value>just some string</value>
<ref bean="myDataSource"</ref> // <!-- CLOSED OUT
INCORRECTLY
</map>
</property>
On Aug 5, 2004, at 12:29 PM, Colin Sampaleanu wrote:
> Thanks, fixed...
>
> Tim Kettering wrote:
>
>>
>> Don't know if this already has been reported, but on the online user
>> reference document in section 3.3.2, the code example seems to have
>> the wrong closing tag. (should be </set> not </map>)
>>
>> <!-- results in a setSomeSet(java.util.Set) call -->
>> <property name="someSet">
>> <set>
>> <value>just some string</value>
>> <ref bean="myDataSource"</ref>
>> </map>
>> </property>
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by OSTG. Have you noticed the changes
>> on
>> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
>> one more big change to announce. We are now OSTG- Open Source
>> Technology
>> Group. Come see the changes on the new OSTG site. www.ostg.com
>> _______________________________________________
>> Springframework-developer mailing list
>> Spr...@li...
>> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by OSTG. Have you noticed the changes on
> Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
> one more big change to announce. We are now OSTG- Open Source
> Technology
> Group. Come see the changes on the new OSTG site. www.ostg.com
> _______________________________________________
> Springframework-developer mailing list
> Spr...@li...
> https://lists.sourceforge.net/lists/listinfo/springframework-developer
>
|