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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sdo message

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


Subject: Re: [sdo] NEW ISSUE: COR07110006 and COR07110007 need to be refactored.


Proposed refactorings

The type of the created property will not necessarily be identical to the type of the value read from an element, since, in the case of multi-valued properties it is possible that the types of the elements do not agree. If an element contains an xsi:type attribute, the value MUST be used to determine the type of the value. [COR07110006] If no xsi:type attribute is present and the content is simple, then the value's type will be implementation dependent. An SDO Implementation MAY use wrapper objects (see 7.10: Corner Cases, point 4) to contain simple values. [COR07110009] If the content is complex, the value MUST be interpreted as an instance of OpenSequncedType; an implementation MUST provide a single Type to handle all the elements. [COR07110010]

An implementation MUST define the property type such that all the values of the property conform, and the type information is available. [COR07110007] If the property is single valued, or if the type of all elements in a multi-valued property agree, an SDO implementation MUST either create the property of the value type itself or create the property with a more general type, such as {http://docs.oasis-open.org/ns/opencsa/sdo/200911}Object or {http://docs.oasis-open.org/ns/opencsa/sdo/200911}DataObject. [COR07110011] Applications are expected to use meta-data introspection to determine the contents and structure of the received data objects.

Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect
WW Center of Excellence for Enterprise Systems & Banking Center of Excellence Application Integration Architect

Research Triangle Park,  NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com



From: Bryan Aupperle/Raleigh/IBM@IBMUS
To: sdo@lists.oasis-open.org
Date: 10/07/2010 10:18 AM
Subject: [sdo] NEW ISSUE: COR07110006 and COR07110007 need to be refactored.





Target: Core Spec CD03-WD3

Description: Normative statements COR07110006 and COR07110007 each contain several statements expressing a mixture of MUSTs and MAYs.  Normative statements should be single statements and should not mix MUSTs and MAYs.


Proposal: Split each of COR07110006 and COR07110007 into multiple statements.

Bryan Aupperle, Ph.D.
STSM, WebSphere Enterprise Platform Software Solution Architect
WW Center of Excellence for Enterprise Systems & Banking Center of Excellence Application Integration Architect

Research Triangle Park,  NC
+1 919-254-7508 (T/L 444-7508)
Internet Address: aupperle@us.ibm.com




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