|
From: Rod J. <rod...@in...> - 2003-12-09 11:20:59
|
I've added optional <description> elements to allow user documentation in
XML bean definition documents. The string values are not currently
available programmatically, although I'll add this if there's a compelling
reason. (I was tempted to add it anyway, but then I remembered YAGNI!)
Following discussion on the web site, I've used an element everywhere--no
attributes.
Description can now be the first element for any beans, bean, property or
constructor-arg element, like this:
<beans>
<description>
Parent application context for my very special web application.
Contains transactioin definitions...
<description>
<bean id="x" class="y">
<description>My special x bean</description>
<property name="foo">
<description>xxxx</description>
<value>bar</value>
</property>
</bean>
Thomas, can you please update the DTD on the web site?
Regards,
Rod
|