- From: Lars ::Penguinmaster:: <penguinmaster@hotmail.de>
- Date: Sat, 06 Aug 2005 10:24:03 +0200
- To: www-validator@w3.org
Hello, 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. Details: 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" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <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; } --> </style> </head> <body> <p> This is text that uses our <code>internal stylesheet</code>.</p> </body> </html> 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. Lars _________________________________________________________________ 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