XHTML possible validation issue |
XHTML possible validation issue |
h2g-vaka |
Nov 9 2010, 12:32 PM
Post
#1
|
Group: Members Posts: 1 Joined: 9-November 10 Member No.: 13,110 |
I started learning Html and Xhtml and i'm going for clean, strict code.
So i got this issue on W3C validator. It is not that my Xhtml is not valid but there is some possible issue.... QUOTE Using Direct Input mode: UTF-8 character encoding assumed Unlike the “by URI” and “by File Upload” modes, the “Direct Input” mode of the validator provides validated content in the form of characters pasted or typed in the validator's form field. This will automatically make the data UTF-8, and therefore the validator does not need to determine the character encoding of your document, and will ignore any charset information specified. If you notice a discrepancy in detected character encoding between the “Direct Input” mode and other validator modes, this is likely to be the reason. It is neither a bug in the validator, nor in your document. And here is part of code... QUOTE <!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" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> Also i got this change of <meta> in validator. When i use charset:UTF-8 it drops me this issue also but without change of meta tag in validator. QUOTE <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><!-- <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> --> What's wrong? Thank you in advice This post has been edited by h2g-vaka: Nov 9 2010, 12:38 PM |
pandy |
Nov 9 2010, 04:28 PM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,716 Joined: 9-August 06 Member No.: 6 |
Can you post the URL to the page?
|
Frederiek |
Nov 10 2010, 03:16 AM
Post
#3
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
It's not an issue, but only a notice by W3C. Like they say: It is neither a bug in the validator, nor in your document. The page validates, so you shouldn't worry about it.
@Pandy Just validate this at W3C and you'll get the note: CODE <!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" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" /> <title>title</title> </head> <body> </body> </html> |
Lo-Fi Version | Time is now: 19th March 2024 - 06:17 AM |