Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jul 2002
    Location
    This little Earth.
    Posts
    383
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XHTML not getting validated

    i'm developing a site that i'd like to do in XHTML. so far i hadn't seriously bothered with the markup and was just working on other stuff. then i made the layout, and added an XHTML dtd. well it looks terrible (i can see i've got some work to mark it up right). the problem is when i give the url for validation, i get this:

    Sorry, I am unable to validate this document because its content type is application/octet-stream, which is not currently supported by this service.

    what's that? i thought mine is just a poorly marked up xhtml file. i was just expecting a list of errors.
    'If you don't stand for something, you'll fall for anything.'

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    near Oswestry
    Posts
    4,508
    Thanks
    0
    Thanked 0 Times in 0 Posts
    When I visit your page in mozilla, it tries to make me download it, since the mime type is "application/octet-stream" (binary data)

    Your server is serving pages with the wrong mime type; you need to ask your host about that. The correct mime type of xhtml is "application/xhtml+xml" (i think), but even that is not useful, because then IE will try to download it!

    I suggest the easiest thing is to use .html as your file extension.
    Last edited by brothercake; 03-20-2003 at 05:34 PM.
    "Why bother with accessibility? ... Because deep down you know that the web is attractive to people who aren't exactly like you." - Joe Clark


  •  

    Posting Permissions

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