sca-bindings message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [sca-bindings] JMS binding - optional binding property name
- From: Mike Edwards <mike_edwards@uk.ibm.com>
- To: sca-bindings@lists.oasis-open.org
- Date: Mon, 29 Jun 2009 09:21:02 +0100
Simon,
Perhaps sadly, Anish is correct - "optional"
is the default.
Note that in the assembly spec, we spell
out "required" and "optional" for all attributes.
Perhaps this is over the top, but no-one
can be in doubt about the meaning.
Yours, Mike.
Strategist - Emerging Technologies, SCA & SDO.
Co Chair OASIS SCA Assembly TC.
IBM Hursley Park, Mail Point 146, Winchester, SO21 2JN, Great Britain.
Phone & FAX: +44-1962-818014 Mobile: +44-7802-467431
Email: mike_edwards@uk.ibm.com
From:
| Anish Karmarkar <Anish.Karmarkar@oracle.com>
|
To:
| Simon Nash <oasis@cjnash.com>
|
Cc:
| Simon Laws/UK/IBM@IBMGB, sca-bindings@lists.oasis-open.org
|
Date:
| 29/06/2009 07:56
|
Subject:
| Re: [sca-bindings] JMS binding - optional
binding property name |
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: simon_laws@uk.ibm.com
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> /
>>> /
>>>
>>> /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
>>
>>
>
>
---------------------------------------------------------------------
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
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
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]