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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-policy message

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


Subject: ISSUE-114 IntentQualifier Element in Policy XSD has no extensibility


http://www.osoa.org/jira/browse/POLICY-114

Dave Booz
STSM, BPM and SCA Architecture
Co-Chair OASIS SCA-Policy TC and SCA-J TC
"Distributed objects first, then world hunger"
Poughkeepsie, NY (845)-435-6093  or  8-295-6093
e-mail:booz@us.ibm.com


|------------>
| From:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Mike Edwards <mike_edwards@uk.ibm.com>                                                                                                            |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"OASIS Policy" <sca-policy@lists.oasis-open.org>                                                                                                  |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |12/15/2009 03:51 AM                                                                                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  >--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[sca-policy] [NEW ISSUE] IntentQualifier Element in Policy XSD has no extensibility                                                               |
  >--------------------------------------------------------------------------------------------------------------------------------------------------|






Raiser:                Mike Edwards

Target:                sca-policy-1.1-spec-cd02-rev6.doc

Description:

The XSD for intent qualifiers does not provide for any extensibility.

The intent complex type has the usual <any/> as part of its definition:

       <complexType name="Intent">
               <sequence>
                       <element name="description" type="string"
minOccurs="0"
                          maxOccurs="1" />
                       <element name="qualifier"
type="sca:IntentQualifier"
                          minOccurs="0" maxOccurs="unbounded" />
                       <any namespace="##other" processContents="lax"
                          minOccurs="0" maxOccurs="unbounded"/>
               </sequence>
               <attribute name="name" type="NCName" use="required"/>
               <attribute name="constrains" type="sca:listOfQNames"
                  use="optional"/>
               <attribute name="requires" type="sca:listOfQNames"
                  use="optional"/>
               <attribute name="excludes" type="sca:listOfQNames"
                  use="optional"/>
               <attribute name="mutuallyExclusive" type="boolean"
                  use="optional" default="false"/>
               <attribute name="intentType"
                       type="sca:InteractionOrImplementation"
                       use="optional" default="interaction"/>
               <anyAttribute namespace="##other" processContents="lax"/>
       </complexType>

...by contrast, the IntentQualifier type has no such extension point:

       <complexType name="IntentQualifier">
               <sequence>
                       <element name="description" type="string"
minOccurs="0"
                          maxOccurs="1" />
               </sequence>
                 <attribute name="name" type="NCName" use="required"/>
                 <attribute name="default" type="boolean" use="optional"
                    default="false"/>
       </complexType>

This looks like an oversight and should be corrected since no extension of
IntentQualifier
is permitted.

Proposal:

A simple change is to add

<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>

at the end of the sequence in the IntentQualifier definition.




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






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]