You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Steven E. Harris (JIRA)" <ji...@apache.org> on 2007/04/03 04:30:32 UTC

[jira] Created: (AXIS2-2453) JiBX creates illegal parameter names with dashes/hyphens

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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Resolved: (AXIS2-2453) JiBX creates illegal parameter names with dashes/hyphens

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski resolved AXIS2-2453.
------------------------------------

       Resolution: Fixed
    Fix Version/s: nightly

Fixed by http://svn.apache.org/viewvc?view=rev&rev=539405 in trunk, http://svn.apache.org/viewvc?view=rev&rev=539407 in 1.2 branch.

> 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
>         Assigned To: Dennis Sosnoski
>             Fix For: nightly
>
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Assigned: (AXIS2-2453) JiBX creates illegal parameter names with dashes/hyphens

Posted by "Dennis Sosnoski (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIS2-2453?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Sosnoski reassigned AXIS2-2453:
--------------------------------------

    Assignee: Dennis Sosnoski

> 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
>         Assigned To: Dennis Sosnoski
>
> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org