dev@glassfish.java.net

Re: Is the description sub element of property dead in the domain.xml of v3?

From: Lloyd Chambers <Lloyd.Chambers_at_Sun.COM>
Date: Sat, 09 Aug 2008 08:59:30 -0700

Vince,

If it's a sub-element, it will be interesting to see it work. As an
attribute you would get (using 'domain' to keep the dotted name short):

domain.property.prop1-name
domain.property.prop1-value
domain.property.prop1-description

Lloyd

On Aug 8, 2008, at 5:32 PM, Vince Kraemer wrote:

> if the description does return from the "dead", what will the output
> of the get command look like when it is present...
>
> for example...
>
> say i have a jdbc-connection-pool that has one of these described
> properties...
>
> get current outputs
>
> resources.jdbc-connection-
> pool
> .CPName
> .property.PropertyNameAttributeValue=PropertyValueAttributeValue
>
> would the introduction of the property description make it look
> something like
>
> resources.jdbc-connection-
> pool
> .CPName
> .property
> .PropertyNameAttributeValue.description=PCDATAFromDescriptionEelement
>
> thanks,
> vbk
>
> Kedar Mhaswade wrote:
>>
>>
>> Vince Kraemer wrote:
>>> sun-domain_1_3.dtd had this:
>>>
>>> <!ELEMENT property (description?)>
>>> <!ATTLIST property
>>> name CDATA #REQUIRED
>>> value CDATA #REQUIRED>
>>>
>>> <!ELEMENT description (#PCDATA)>
>>>
>>> It appears that v3 b18 doesn't support this. (I added a
>>> description sub-element to a property and the domain would not
>>> start...)
>>>
>>> Is this an intentional change or not?
>>
>> Not intentional.
>> Please file a bug. But frankly, I have never come across use of
>> description subelement of <property>.
>>
>> But domain not starting is serious.
>>
>> -Kedar
>>
>>>
>>> thanks,
>>> vbk
>>>
>>>
>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>