[ http://issues.apache.org/jira/browse/AXISCPP-1003?page=all ]
Michael Koch updated AXISCPP-1003:
----------------------------------
Attachment: testcase2.wsdl
The wsdl file contains a type definition FooType which has "foo bar" as single
enumeration value. The C++ code generated by wsdl2ws does not compile. The
offending line is in FooType.hpp:
static const FooType FooType_foo bar = "foo bar";
> 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
> 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]