cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (CXF-3059) idl2wsdl fails when constant is used to define boundary of sequence.
Date Tue, 12 Oct 2010 03:05:32 GMT

     [ https://issues.apache.org/jira/browse/CXF-3059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-3059.
-------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=1021599&view=rev for trunk
http://svn.apache.org/viewvc?rev=1021602&view=rev for 2.2.x branch

>  idl2wsdl fails when constant is used to define boundary of sequence.
> ---------------------------------------------------------------------
>
>                 Key: CXF-3059
>                 URL: https://issues.apache.org/jira/browse/CXF-3059
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.2.12, 2.3.1
>
>
> Run idl2wsdl on the following
> module TRY
> {
>      const unsigned short  idlMaxUserName   = 20;
>      typedef sequence<unsigned short, idlMaxUserName> idlUserName; 
> };
> ... you'll see that if fails. If you change the boundary of the sequence to a literal,
the problem goes away
> module TRY
> {
>         typedef sequence<unsigned short, 20> idlUserName; 
> };
> but according to the CORBA 2.4 spec, any constant expression that evaluates to yield
a positive integer can be used to specify the upper bound of a sequence.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message