SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Member tinybruk's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question IE6 on WinXP Sp2 causes problems with W3C validator

    Hi,

    I have a problem On a XP system with SP2 installed and using IE6

    If I try to upload a file for validation at the w3c validation service http://validator.w3.org it refuses to validate it saying the content is text/plain.
    I
    f I use Mozilla Firefox on the same PC, then there is no problem and the validator works.

    I have tried it on a PC WITHOUT Sp2 and it works fine on both browsers.

    Can anyone point me in the direction to a solution. I need to validate files using upoload as they are not yet deployed on a web server and we use IE6 by default.


    The actual message displayed by the validation service is
    QUOTE
    Sorry, I am unable to validate this document because its content type is text/plain, which is not currently supported by this service.

    The Content-Type field is sent by your web server (or web browser if you use the file upload interface) and depends on its configuration. Commonly, web servers will have a mapping of filename extensions (such as ".html") to MIME Content-Type values (such as text/html).

    That you recieved this message can mean that your server is not configured correctly, that your file does not have the correct filename extension, or that you are attempting to validate a file type that we do not support yet. In the latter case you should let us know that you need us to support that content type (please include all relevant details, including the URL to the standards document defining the content type) using the instructions on the Feedback Page.

    UNQUOTE

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.accessifyforum.com/viewtopic.php?t=1870

    When using IE6 for XP SP2, if you try to use the file upload feature of the w3c validator you will receive an error response stating that the validator does not accept files of type text/plain.

    This is an issue caused by the new security features implemented in the latest version of IE 6. Specifically, it is caused by a feature called "Mime Sniffing" that prevents IE from changing a file's type by examining it's content. Consequently, IE will deliver all and any file as type text/plain irrespective of it's content declaration or file extension.

    MIME sniffing is managed through a security feature control registry key (FEATURE_MIME_SNIFFING). It is enabled by default for Internet Explorer (iexplore.exe) and Windows Explorer (explorer.exe). The following shows the registry key and enabled processes.

    HKEY_LOCAL_MACHINE (or HKEY_CURRENT_USER)
    >SOFTWARE
    >>Microsoft
    >>>Internet Explorer
    >>>>Main
    >>>>>FeatureControl
    >>>>>>FEATURE_MIME_SNIFFING
    iexplore.exe= 0x00000001
    explorer.exe= 0x00000001
    process name.exe=0x00000001

    To turn it off, set the value for iexplore.exe to 0 (0x00000000)

    If you are not familiar with making changes to the Windows registry, be careful. If you break your machine, it's not my fault.

    You will need to close and re-open IE for the change to take effect.

    For more information, you can see this and all of the other wonderful new security features of IE 6 Here
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    SitePoint Member tinybruk's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile

    Fantastic. Problem solved.

    I just wish Msoft had detailed this.

    Thanks again.

    I posted this same problem at www.experts-exchange.
    Could I copy your reply there as a comment so as to clear the matter up.
    I will cite you as the source..
    Last edited by tinybruk; Oct 16, 2004 at 03:08. Reason: Inlcude smiley

  4. #4
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    credit Neil Whiteley...i only passed on the message
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •