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-188 Schema type for JavaInterface has duplicate remotableattribute against the base Interface - close with no action


Ugh. This is my bad.

1) The artifact in error has no official standing as far as the TC is concerned. That's the file where we're applying updates that correspond with spec revisions (which also have no official standing in the TC). Therefore, I've fixed the artifact in SVN to remove the @remotable attribute from the interface.java schema.

2) As a result of (1) I will need to back out the change I put into CD03-rev1 to add this attribute, which I will do in a moment.

As a result of this, I believe the TC can close this issue with no action.


For those who care, here's the long story:
Issue-125 introduced the @remotable attribute to interface.java. If you recall, that issue was re-opened 2 times AFTER it was resolved. There were actually 3 resolutions across two spec documents. I had a bit of time consolidating all the resolutions into the Java CAA cd03-rev document. Fast forward a week or so. One of the Tuscany developers pointed out that @remotable was missing from interface.java schema, so I blindly forged ahead and assumed that I had just missed applying that part of the ISSUE-125 resolution. I rechecked the resolution documents but none of them contained an updated schema, so I assumed that this had just been missed and was left as an obvious editorial exercise to fix up. What I forgot is that @remotable is inherited into the schema from the core Interface type. Sorry for the mess, but at least this is an easy one to clean up.


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---10/07/2009 07:41:53 AM---http://www.osoa.org/jira/browse/JAVA-188 Dave BoozDavid Booz---10/07/2009 07:41:53 AM---http://www.osoa.org/jira/browse/JAVA-188 Dave Booz


From:

David Booz/Poughkeepsie/IBM@IBMUS

To:

sca-j@lists.oasis-open.org

Date:

10/07/2009 07:41 AM

Subject:

[sca-j] ISSUE-188 Schema type for JavaInterface has duplicate remotable attribute against the base Interface





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

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 Raymond Feng---10/06/2009 06:05:10 PM---Target:  http://tools.oasis-open.org/version-control/browse/wRaymond Feng---10/06/2009 06:05:10 PM---Target: http://tools.oasis-open.org/version-control/browse/wsvn/sca-assembly/SCA_XSDS/sca-interface

From:

Raymond Feng/Burlingame/IBM@IBMUS

To:

sca-j@lists.oasis-open.org

Date:

10/06/2009 06:05 PM

Subject:

[sca-j] [NEW ISSUE] Schema type for JavaInterface has duplicate remotable attribute against the base Interface




Target:
http://tools.oasis-open.org/version-control/browse/wsvn/sca-assembly/SCA_XSDS/sca-interface-java-1.1-cd04.xsd?sc=1

Description:


The schema has the following definition:


<complexType name="JavaInterface">
<complexContent>
<extension base="sca:Interface">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0"
maxOccurs="unbounded"/>
</sequence>
<attribute name="interface" type="NCName" use="required"/>
<attribute name="callbackInterface" type="NCName"
use="optional"/>

<attribute name="remotable" type="boolean" use="optional"/>

</extension>
</complexContent>
</complexType>



The remotable attribute has been defined in base Interface type. As a result, schema validator fails to load this XSD due to duplicate attributes.


Proposal:


Remove the
<attribute name="remotable" type="boolean" use="optional"/>

Thanks,

Raymond

Raymond Feng
Senior Software Engineer, Apache Tuscany PMC Member & Committer

IBM Bay Area Lab, 1001 E Hillsdale Blvd, Suite 400, Foster City, CA 94404, USA

E-mail
: rfeng@us.ibm.com, Notes: Raymond Feng/Burlingame/IBM, Tel: 650-645-8117, T/L: 367-8117
Apache Tuscany
: http://tuscany.apache.org
Co-author of Tuscany In Action:
http://www.manning.com/laws






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