JiBX creates illegal parameter names with dashes/hyphens
--------------------------------------------------------

                 Key: AXIS2-2453
                 URL: https://issues.apache.org/jira/browse/AXIS2-2453
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: databinding
    Affects Versions: nightly
         Environment: Windows XP, AXIS nightly snapshot
            Reporter: Steven E. Harris


My WSDL file references several XML elements defined in a schema that have 
hyphens in their names, such as "foo-bar". I'm not sure if it's JiBX or 
WSDL2Java that's responsible here, but the client service interface and stub 
files get generated referring to a type name munged to something like FooBar, 
as one might expect, but the parameter names accepting type FooBar are still 
named "foo-bar", which is not a valid Java identifier. One must edit the 
generated files by hand to correct the error.

These parameter names should either have the hyphens translated to underscores, 
or go further and transform "foo-bar" to "fooBar".

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


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

Reply via email to