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 "Takehiko Ishii (JIRA)" <ax...@ws.apache.org> on 2006/02/22 06:18:52 UTC

[jira] Created: (AXIS-2416) package name generated by WSDL2Java when namespace contains URL-encoding chars in WSDL

package name generated by WSDL2Java when namespace contains URL-encoding chars in WSDL
--------------------------------------------------------------------------------------

         Key: AXIS-2416
         URL: http://issues.apache.org/jira/browse/AXIS-2416
     Project: Apache Axis
        Type: Improvement
  Components: WSDL processing  
    Versions: 1.3    
 Environment: Windows XP Pro SP2 Japanese, Sun JDK/JRE 5.0
    Reporter: Takehiko Ishii
    Priority: Minor


WSDL2Java class generates some Java class and wsdd file from WSDL, under the package directory which is specified as namespace in WSDL.

If the namespace contains URL-encoding characters such as "%E3%81%82%E3%81%82", WSDL2Java generates package using these characters as is.
However, '%' character is not allowed as a part of package name in Java, so users have to change package name manually in this case.
URI is often used as namespace in XML, and URI recommend to express non-ASCII characters using '%' escape scequence. So this case might happen on some non-ASCII locales.

So please genearte package not to use '%' character, for example, removing '%' character from package name.
thanks.

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