← Prev in month ← Prev in thread
Next in thread → Next in month →

[NEW ISSUE] Schema type for JavaInterface has duplicate remotable attributeagainst the base Interface

From
Raymond Feng <>
Date
2009-10-06T22:05:03+00:00
ID
Thread
[NEW ISSUE] Schema type for JavaInterface has duplicate remotable attributeagainst 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: ,
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

S/MIME Cryptographic Signature
← Prev in month ← Prev in thread
Next in thread → Next in month →