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] Created: (CXF-3059) idl2wsdl fails when constant is used to define boundary of sequence.
Date Tue, 12 Oct 2010 02:15:34 GMT
 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