W3C home > Mailing lists > Public > www-validator@w3.org > August 2005

Validator doesn't validate

From: Lars ::Penguinmaster:: <penguinmaster@hotmail.de>
Date: Sat, 06 Aug 2005 10:24:03 +0200
Message-ID: <BAY23-F339681AA3C594F42D99447DDC60@phx.gbl>
To: www-validator@w3.org


I think this question has been asked yet, but I don't understand why the 
validator doesn't accept a file that has been accepted before.

Encoding: UTF-8
Name: myfile.htm
Source Code (for testing, only typed in the W3C Example):
<?xml-stylesheet [...]/css"Q?>
<?xml-stylesheet href=[...]/css?>
<!DOCTYPE html PUBLIC "-//W3C/DTD XHTML 1.0 Strict//EN" 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>My web page</title>
<style type="text/css">
code { color: green;
font-family: monospace;
font-weight: bold;
This is text that uses our <code>internal stylesheet</code>.</p>

Then I tried to upload the file, and what did it say?
"Sorry, I am unable to validate this document because its content type is 
text/plain, which is not..."

Why does it refuse my file? Another (not fully XHTML-conform) uploaded file 
named test.htm has been checked (with errors, because the markup is not 
fully valid).

Can someone help me. I want to create a homepage with *valid* markup.


Sie suchen E-Mails, Dokumente oder Fotos? Die neue MSN Suche Toolbar mit 
Windows-Desktopsuche liefert in sekundenschnelle Ergebnisse. Jetzt neu! 
http://desktop.msn.de/ Jetzt gratis downloaden!
Received on Saturday, 6 August 2005 09:06:42 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:58:52 UTC