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

Your name:

Reply:


Posted by Sherm Pendley on 07/27/07 17:51

"The Bicycling Guitarist" <Chris@TheBicyclingGuitarist.net> writes:

> "Sherm Pendley" <spamtrap@dot-app.org> wrote in message
> news:m2odhyiayr.fsf@dot-app.org...
>> "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.
>>
>> 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.
>
> Thank you Sherm, I think I see now. It isn't the validator that has changed;
> I just recently changed (had the tech support person change) what the server
> declares.
>
> But this file is being used as it was given to me, generated by ICRA.

There's probably nothing wrong with the contents of the file itself - What
you need to do is configure (or have someone configure) your server to
send the proper MIME type of application/xml for .xml files.

I noticed when looking at the HTTP headers that the page is being served by
IIS on Windows; if it were Apache, I could tell you how to do the above. But
I don't know IIS, so I can't help you there.

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

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