Apache/Tomcat: Patch XML content-type for IE?

Discussion in 'Java' started by Sven Steinacker, Feb 19, 2004.

  1. Hi,

    it seems that IE 6.0 has problems to identify the MIME type "text/xml" in
    the HTTP content-type, when followed by a character-set string. E.g., when
    served by the Apache server, IE correctly opens MS InfoPath (or other
    registered XML editors) when receiving an xml file starting with the
    following (note that Apache creates the HTTP content-type from the file
    content):

    <?xml version="1.0" ?>
    <?mso-infoPathSolution PIVersion="1.0.0.0"
    href="http://myserver.com/manifest.xsf" solutionVersion="1.0.0.606"
    productVersion="11.0.5531" ?>

    However, IE fails to open the same file including some arbitrary encoding
    type e.g.:

    <?xml version="1.0" encoding="UTF-8" ?>
    <?mso-infoPathSolution PIVersion="1.0.0.0"
    href="http://myserver.com/manifest.xsf" solutionVersion="1.0.0.606"
    productVersion="11.0.5531" ?>

    It seems there is some kind of if(content-type = "text/xml") in the IE code
    instead of if(content-type.getMIME = "text/xml"). Just a guess.

    Has anyone seen a good workaround for this problem for Apache and/or the
    Tomact server? Is there a newer version of IE available, which fixes this
    problem?

    Hints very appreciated!


    Sven Steinacker
    Ericsson Germany
     
    Sven Steinacker, Feb 19, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Christos Gravvanis
    Replies:
    0
    Views:
    2,061
    Christos Gravvanis
    Jul 7, 2004
  2. twins
    Replies:
    1
    Views:
    5,900
  3. Marcin Cenkier
    Replies:
    1
    Views:
    5,459
    Marcin Cenkier
    Apr 12, 2006
  4. Stanimir Stamenkov
    Replies:
    2
    Views:
    763
    Stanimir Stamenkov
    Oct 25, 2005
  5. George Sakkis
    Replies:
    3
    Views:
    380
Loading...

Share This Page