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 bu...@apache.org on 2003/12/18 10:07:33 UTC

DO NOT REPLY [Bug 25616] New: - MIME type string check incorrect

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=25616>.
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=25616

MIME type string check incorrect

           Summary: MIME type string check incorrect
           Product: Axis
           Version: current (nightly)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: axis-dev@ws.apache.org
        ReportedBy: ksmakoto@dd.iij4u.or.jp


At src/org/apache/axis/attachments/AttachmentPart.java and
src/org/apache/axis/wsdl/toJava/Utils.java , MIME type string
check incorrect.

====

AttachmentPart.java, around line 380
"text/gif"  ==>  "image/gif"
"text/jpeg"  ==>  "image/jpeg"

====

Utils.java, around line 720

if (mimeType.equals("image/jpeg"))

    |
    v

if (mimeType.equals("image/gif") || mimeType.equals("image/jpeg"))

====

I'll attach patch