SimonN,
Both the name and type attributes are optional. The default value for
'use' is 'optional' so the declaration use="optional" on the name
attribute is redundant.
-Anish
--
Simon Nash wrote:
> Am I missing something? From this schema it looks to me like the
> "name" attribute is required and the "type" attribute is optional.
>
> Simon
>
> Anish Karmarkar wrote:
>> I think this is a bug. I don't know what it would mean to have a
>> property without a name.
>>
>> -Anish
>> --
>>
>> Simon Laws wrote:
>>>
>>> As of JMS binding spec CD02 Rev 6 the BindingProperty structure is
>>> defined as:
>>>
>>> 922 <complexType name="BindingProperty">
>>> 923 <simpleContent>
>>> 924 <extension base="string">
>>> 925 <attribute name="name" type="NMTOKEN"/>
>>> 926 <attribute name="type" type="string" use="optional"
>>> 927 default="xs:string"/>
>>> 928 </extension>
>>> 929 </simpleContent>
>>> 930 </complexType>
>>>
>>> Is the "name" attribute intentionally optional?
>>>
>>> If so, is it valid to have an element, such as destination, with more
>>> than one property with no name?
>>>
>>> Regards
>>>
>>> Simon
>>>
>>> Simon Laws
>>> Open Source SOA Development
>>> tuscany.apache.org
>>> Mail Point 146, Hursley Park, Winchester, Hampshire, SO21 2JN
>>> Tel: Internal 248708 External +44 (0)1962 818708
>>> Email:
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> /
>>> /
>>>
>>> /Unless stated otherwise above:
>>> IBM United Kingdom Limited - Registered in England and Wales with
>>> number 741598.
>>> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
>>> PO6 3AU/
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this mail list, you must leave the OASIS TC that
>> generates this mail. Follow this link to all your TCs in OASIS at:
>> https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php
>>
>>
>
>