October 1, 2011 at 8:46 pm #6165
hey i checked the http://www.kriesi.at/demos/display/ theme and i get 1 error saying
DOCTYPE Override in effect!
The detected DOCTYPE Declaration "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" has been suppressed and the DOCTYPE for "XHTML 1.0 Strict" inserted instead, but even if no errors are shown below the document will not be Valid until you update it to reflect this new DOCTYPE.
The document located at <http://www.kriesi.at/demos/display/> was tentatively checked as XHTML 1.0 Strict. This means that with the use of some fallback or override mechanism, we successfully performed a formal validation of it. In other words, the document would validate as XHTML 1.0 Strict if you changed the markup to match the changes we have performed automatically, but it will not be valid until you make these changes.
can you change something to avoid this error?October 1, 2011 at 11:18 pm #53112October 2, 2011 at 11:16 am #53113
cool i don’t know why but now the error is gone!
how do i fix this warning at http://www.mathemitnullplan.de/impressum
Byte-Order Mark found in UTF-8 File.
The Unicode Byte-Order Mark (BOM) in UTF-8 encoded files is known to cause problems for some text editors and older browsers. You may want to consider avoiding its use until it is better supported.
best regardsOctober 2, 2011 at 11:22 am #53114
You can use tools like notepad++ to save your php files in standard iso format (in your case template_contact.php is saved as utf-8 file instead iso western) – this will resolve the error. However it won’t effect search engines, etc. anyway.October 2, 2011 at 12:05 pm #53115
hey dude – that’s a nice editor!
where do i exactly change the php to iso western. i tried to go to “kodierung”-“zeichensatz”-“westeuropäisch”
and took “iso8859-1″
i replaced the template_contact.php but revalidating still brings up the warning.
regardsOctober 2, 2011 at 2:01 pm #53116
Try to save header.php, footer.php and sidebar.php with “iso8859-1″ – maybe one of them effects the coding too. If you’re using a plugin/shortcode on this page check if its code causes the warning.October 2, 2011 at 3:11 pm #53117
hey dude – i found it.
it was the functions.php that had only utf8. all the other files are fine.
maybe because i inserted a few lines from the wordpress backend.
it was enough to convert the functions.php to “utf8 without BOM”. now everything is strict without a warning.
thanks and best regardsOctober 2, 2011 at 3:47 pm #53118
The topic ‘validatorw3.org error’ is closed to new replies.