On Wed, 28 Aug 2002 22:53, Nicola Ken Barozzi wrote: > Ok, I understand the need, but then, why under the attributes? > Why not a <description> taga ala Ant, it doesn't seem like a generic > attribut to me...
The problem is when you want to do i18n of the description. Currently it is done via <!-- use the following if you dont care about i18n --> <attribute name="doc:description" value="Some description" /> <!-- use the following if you do care about i18n. --> <attribute name="doc:description-key" value="my.key" /> <!-- Note that you would have to include a resources file side-by-side the info file with the name MyClassNameInfo.*. However you could overide the location of the Info file via --> <attribute name="doc:i18n-bundle" value="MyClassNameInfo2" /> I think I would prefer a description element, but how would you deal with the above? -- Cheers, Peter Donald "Artists can color the sky red because they know it's blue. Those of us who aren't artists must color things the way they really are or people might think we're stupid." -- Jules Feiffer -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
