[ http://issues.apache.org/jira/browse/AXISCPP-1003?page=all ]

nadir amra resolved AXISCPP-1003.
---------------------------------

    Fix Version/s:  1.6 Beta
       Resolution: Fixed

If all enum values are valid (can be used as a C/C++ identifer), it will be 
used to generate enum's as before:

[type]_[enum-value]

For example, if enum values are "CHEQUE" and "CREDIT_CARD", then enumerators 
would be something like:

[type]_CHEQUE = "CHEQUE";
[type]_CREDIT_CARD = "CREDIT_CARD";

However, if the enumerator values are "CHEQUE" and "CREDIT CARD", then the 
enumerators would be:

[type]_ENUM1 = "CHEQUE";
[type]_ENUM2 = "CREDIT CARD";


> Enumeration with spaces in values generates invalid hpp file
> ------------------------------------------------------------
>
>                 Key: AXISCPP-1003
>                 URL: http://issues.apache.org/jira/browse/AXISCPP-1003
>             Project: Axis-C++
>          Issue Type: Bug
>    Affects Versions:  1.6 Beta
>         Environment: Axis-CPP: axis-c-1.6b-Win32-trace-bin
> Compiler: gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
>            Reporter: Michael Koch
>         Assigned To: nadir amra
>             Fix For:  1.6 Beta
>
>         Attachments: testcase2.wsdl
>
>
> When I set an enumeration value which contains spaces on a type, the hpp file 
> for the type does not compile. The space in the enumeration value seems to 
> translate to an incorrect static const generation. I'll attach a test case.

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to