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 "Davanum Srinivas (JIRA)" <ax...@ws.apache.org> on 2005/06/26 14:52:58 UTC

[jira] Commented: (AXIS-1084) Backslash character in namespace causes error in generated Java code

    [ http://issues.apache.org/jira/browse/AXIS-1084?page=comments#action_12314507 ] 

Davanum Srinivas commented on AXIS-1084:
----------------------------------------

http://groups.yahoo.com/group/jsr110-eg-disc/message/664

> Backslash character in namespace causes error in generated Java code
> --------------------------------------------------------------------
>
>          Key: AXIS-1084
>          URL: http://issues.apache.org/jira/browse/AXIS-1084
>      Project: Apache Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.1
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: junkymail50
>     Assignee: Axis Developers Mailing List
>  Attachments: ElectronicMarket.wsdl
>
> If a WSDL file has a namespace that includes a backslash (e.g.
> "urn:MyLocation\here"), this carries over into the Java code, which then causes
> an error.
> Generated Java code:
> typeDesc.setXmlType(new javax.xml.namespace.QName("urn:MyLocation\here", "MyType"));
> This can either be immediately seen if the escape character is invalid (compiler
> will reject it), or it may be a hidden bug if the escape character is valid
> because the compiler will allow it.
> I classify this as major because it can be a hidden bug, and also because it
> takes a while to go weed these out.
> 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