Cannot use constants as discriminators in CORBA union data types
----------------------------------------------------------------

                 Key: AXIS2-4987
                 URL: https://issues.apache.org/jira/browse/AXIS2-4987
             Project: Axis2
          Issue Type: Bug
          Components: corba
            Reporter: Eranga Jayasundera
            Assignee: Eranga Jayasundera


The corba module does not support the use of constants as the discriminators in 
union data types. For example, the following IDL is not supported.

typedef short SimpleValueType;
const SimpleValueType RESOURCE_TYPE = 1;
const SimpleValueType URI_TYPE = 2;

union SimpleValue switch( SimpleValueType )
{
case RESOURCE_TYPE      : string resource_value;
case URI_TYPE    : string uri_value;
};


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to