|
Posted by Sherm Pendley on 07/27/07 07:04
"The Bicycling Guitarist" <Chris@TheBicyclingGuitarist.net> writes:
> The htmlhelp online validator used to just check this xml file for
> "well-formedness" if I remember rightly. However, now it says that with no
> doctype declared it is assuming html 4.01 transitional and error after error
> is reported.
>
> How do I fix this? the page is at www.TheBicyclingGuitarist.net/labels.xml
> It's been unchanged since January 2006. It's the VALIDATOR that has changed
> how it regards this file. What should I do, please?
Serve it with the correct MIME type. Right now, it's being served as:
Content-Type: text/html;charset=utf-8
Basically, the validator is treating the document as HTML because that's
what your server is saying it is.
sherm--
--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Navigation:
[Reply to this message]
|