← Prev in month ← Prev in thread

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

From
David Booz <>
Date
2009-07-02T13:03:25+00:00
ID
Thread
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:

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



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:

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

To:

OASIS Java <>

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