Reply to Re: labels.xml file riddled with "errors"?

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация