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 "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2006/05/08 12:22:21 UTC

[jira] Commented: (AXIS2-688) WSDL2Java is effected by the user's locale setting and generates files that has illegal names

    [ http://issues.apache.org/jira/browse/AXIS2-688?page=comments#action_12378402 ] 

Ajith Harshana Ranabahu commented on AXIS2-688:
-----------------------------------------------

This looks more like a XMLBeans issue to me. I'm not very sure how the forceful setting of the language and encoding settings will affect the other processes.
Any XMLBeans gurus who can shed some light into this ?

> WSDL2Java is effected by the user's locale setting and generates files that has illegal names
> ---------------------------------------------------------------------------------------------
>
>          Key: AXIS2-688
>          URL: http://issues.apache.org/jira/browse/AXIS2-688
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Improvement

>   Components: Tools
>     Versions: 1.0
>  Environment: Win2K Pro, JDK 1.4, user.country = TR, user.language = tr, file.encoding = Cp1254
>     Reporter: Ali Sadik Kumlali
>     Priority: Minor

>
> WSDL2Java generates files with local machine's character-set into schemaorg_apache_xmlbeans\system. These files cannot be added to CVS. I haven't checked whether it may cause run-time problems.
> Here are the samples. If you cannot see the non-english character, assume it as \u0131 or &#305;.
> Example1:
> - Generated: ?delement.xsb 
> - Must be: idelement.xsb
> Example2:
> - Generated: account?bantyped41dtype.xsb
> - Must be: accountibantyped41dtype.xsb
> My solutions is setting JAVA_OPTS as following before calling WSDL2Java:
> set JAVA_OPTS=-Duser.language=EN -Dfile.encoding=iso-8859-1

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