OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-bindings message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: NEW ISSUE: JMS Binding operationProperties headers element should beoptional



TARGET: SCA JMS Binding Specification cd04

TITLE: JMS Binding operationProperties headers element should be optional

DESCRIPTION:   The JMS Binding schema defines the JMSOperationProperties
complex type as:

   <complexType name="JMSOperationProperties">
      <sequence>
         <element name="property" type="sca:BindingProperty"
                  minOccurs="0" maxOccurs="unbounded"/>
         <element name="headers" type="sca:JMSHeaders"/>
      </sequence>
      <attribute name="name" type="string" use="required"/>
      <attribute name="nativeOperation" type="string"/>
   </complexType>

which makes the headers element required, but it should be possible to use
operationProperties without a headers element.

PROPOSAL:

Change the headers element to have minOccurs="0":

   <complexType name="JMSOperationProperties">
      <sequence>
         <element name="property" type="sca:BindingProperty"
                  minOccurs="0" maxOccurs="unbounded"/>
         <element name="headers" type="sca:JMSHeaders" minOccurs="0"/>
      </sequence>
      <attribute name="name" type="string" use="required"/>
      <attribute name="nativeOperation" type="string"/>
   </complexType>

   ...ant



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]