Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    and

    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?

    #53112

    Hi,

    please see this. No errors come up.

    #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 regards

    #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.

    #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.

    regards

    #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.

    #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 regards

    #53118

    Glad that you found the “bad boy” :)

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘validatorw3.org error’ is closed to new replies.