axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven E. Harris (JIRA)" <>
Subject [jira] Created: (AXIS2-2453) JiBX creates illegal parameter names with dashes/hyphens
Date Tue, 03 Apr 2007 02:30:32 GMT
JiBX creates illegal parameter names with dashes/hyphens

                 Key: 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:
For additional commands, e-mail:

View raw message