You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2010/10/12 05:05:32 UTC

[jira] Resolved: (CXF-3059) idl2wsdl fails when constant is used to define boundary of sequence.

     [ 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.