axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 23739] New: - Backslash character in namespace causes error in generated Java code
Date Sat, 11 Oct 2003 04:41:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23739>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23739

Backslash character in namespace causes error in generated Java code

           Summary: Backslash character in namespace causes error in
                    generated Java code
           Product: Axis
           Version: 1.1
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: junkymail50@yahoo.com


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

Mime
View raw message