[ 
http://issues.apache.org/jira/browse/YOKO-178?page=comments#action_12439438 ] 
            
Matteo Vescovi commented on YOKO-178:
-------------------------------------

Should the corba:alias's type refer to the simpleType xs:myLong instead of 
xs:int?

e.g. 
IDL:
typedef long myLong;

XMLSchema:
<xs:simpleType name="myLong">
  <xs:restriction base="xs:int">
</xs:simpleType>

CORBATypemap:
<corba:typeMapping targetNamespace=...>
<corba:alias name="myLong" repositoryID="IDL:myLong:1.0" basetype="corba:long" 
type="xs:myLong"/>
</corba:typeMapping>

The only change is in the corba:alias type attribute.


> Add support for IDL typedef
> ---------------------------
>
>                 Key: YOKO-178
>                 URL: http://issues.apache.org/jira/browse/YOKO-178
>             Project: Yoko - CORBA Server
>          Issue Type: Sub-task
>          Components: Idl2Wsdl
>    Affects Versions: 1.0-incubating-M2
>            Reporter: Matteo Vescovi
>
> E.g.
> IDL:
> typedef long myLong;
> XMLSchema:
> <xs:simpleType name="myLong">
>   <xs:restriction base="xs:int">
> </xs:simpleType>
> CORBATypemap:
> <corba:typeMapping targetNamespace=...> 
>       <corba:alias name="myLong" repositoryID="IDL:myLong:1.0" 
> basetype="corba:long" type="xs:int"/> 
> </corba:typeMapping>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to