← Prev in month ← Prev in thread
Next in thread → Next in month →

[NEW ISSUE] wireFormat and operationSelector element declarations don'thave @abstract="true"

From
Mike Edwards <>
Date
2009-06-08T12:32:51+00:00
ID
Thread
[NEW ISSUE] wireFormat and operationSelector element declarations don'thave @abstract="true"
Raiser:        
       Mike Edwards

Target:        
       sca-assembly-1.1-spec-cd03.pdf

Description:

The way in which the XSD is constructed
for the wireFormat and operationSelector is incorrect and causes problems
for

other specifications (particularly Bindings
specs).

Currently, wireFormat and operationSelector
are declared as follows:

<element
name="wireFormat"
type="sca:WireFormatType"/>

<complexType
name="WireFormatType"
abstract="true">

     
  ...

</complexType>

<element
name="operationSelector"
type="sca:OperationSelectorType"/>

<complexType
name="OperationSelectorType"
abstract="true">

        ...

The problem here is that the element
declarations for wireFormat and operationSelectoor are not declared "abstract",
which

then requires them to be described in
specifications that don't provide support for concrete types that extend
wireFormat or

operationSelector.

This is not the way in which other extension
points are declared - compare with Binding:

<element
name="binding"
type="sca:Binding"
abstract="true"/>

<complexType
name="Binding"
abstract="true">

        ...

In this case, only a specification which
provides an extension to the Binding type (such as binding.ws) needs to
describe the

Binding element, since abstract elements
cannot be used.

Proposal:

Change the wireFormat and operationSelector
element declarations to use "abstract":

<element
name="wireFormat"
type="sca:WireFormatType"
abstract="true"/>

<complexType
name="WireFormatType"
abstract="true">

     
  ...

</complexType>

<element
name="operationSelector"
type="sca:OperationSelectorType"
abstract="true"/>

<complexType
name="OperationSelectorType"
abstract="true">

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:  

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
← Prev in month ← Prev in thread
Next in thread → Next in month →