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

 


Help: OASIS Mailing Lists Help | MarkMail Help

sca-j message

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


Subject: Re: [sca-j] ISSUE-168: Conversion rules for property values are notspecified


Hi Simon,

Referring to the other thread [1], I see now that you're focusing on the XML to Java type coercion, and now I'm sure we're talking about different aspects of the problem. I was focused on the Java to Java aspect introduced by the proposal to Issue 139, and you've focused on on the Component to implementation problem. Section 8 of the JCI spec does describe the Java to componentType mapping as based on JAXB. Why doesn't this address your concern?

[1] http://lists.oasis-open.org/archives/sca-j/200907/msg00005.html

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

Inactive hide details for David Booz---07/02/2009 08:29:23 AM---http://www.osoa.org/jira/browse/JAVA-168 Dave BoozDavid Booz---07/02/2009 08:29:23 AM---http://www.osoa.org/jira/browse/JAVA-168 Dave Booz


From:

David Booz/Poughkeepsie/IBM@IBMUS

To:

sca-j@lists.oasis-open.org

Date:

07/02/2009 08:29 AM

Subject:

[sca-j] ISSUE-168: Conversion rules for property values are not specified





http://www.osoa.org/jira/browse/JAVA-168

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

Inactive hide details for Simon Nash ---07/02/2009 06:24:45 AM---Resending with "NEW ISSUE" tag in the email subject line. TARGSimon Nash ---07/02/2009 06:24:45 AM---Resending with "NEW ISSUE" tag in the email subject line. TARGET: Java Common Annotations and APIs

From:

Simon Nash <oasis@cjnash.com>

To:

OASIS Java <sca-j@lists.oasis-open.org>

Date:

07/02/2009 06:24 AM

Subject:

[sca-j] NEW ISSUE: Conversion rules for property values are not specified




Resending with "NEW ISSUE" tag in the email subject line.

TARGET: Java Common Annotations and APIs

DESCRIPTION: Conversion rules for property values are not specified

The @Property annotation allows component implementations to
define SCA properties of any Java type.  However, there are no
rules stated for how property values specified in component
definitions are converted to the Java type of the property,
or what happens if this conversion fails.

PROPOSAL:

The conversion rules should follow the JAXB rules for mapping
XML to Java.

Suitable text should be added to section 2.1.5 describing how
property value conversions are performed and what happens if
the conversion fails.



---------------------------------------------------------------------
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 






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