The following missing or conflicting information caused the validator to perform guesswork prior to validation. If the guess or fallback is incorrect, it may make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.
Missing "charset" attribute for
"" document.
The HTTP Content-Type header
() sent by your web
) did not contain
a "charset" parameter, but the Content-Type was one of
the XML text/* sub-types.
The relevant specification
(RFC 3023)
specifies a strong default of "us-ascii" for
such documents so we will use this value regardless of any encoding you
may have indicated elsewhere.
If you would like to use a different encoding, you should arrange to have
your
No Character Encoding Found!
Falling back to
""
(explain...).
Character Encoding Override in effect!
The detected character encoding
""
has been suppressed and
"" used instead.
No Character Encoding Found!
.
None of the standards sources gave any information on the character encoding labeling for this document. The character
encoding ,
which you have chosen via the Encoding override option, will be used for tentative validation.
None of the standards sources gave any information on the character encoding
labeling for this document. Without encoding information
it is impossible to reliably validate the document. As a fallback
solution, the ""
encoding was used to read the content and attempt to perform the validation,
but this is likely to fail for all non-trivial documents.
The sources used to find encoding information include:
The algorithm defined in Appendix F of the XML 1.0 Recommendation was also used, without success.
Since none of these sources yielded any usable information, reliable validation of this document is not possible. Sorry. Please make sure you specify the character encoding in use.
Specifying a character encoding is typically done by the web server configuration, by the scripts that put together pages, or inside the document itself. IANA maintains the list of official names for character encodings (called charsets in this context). You can choose from a number of encodings, though we recommend UTF-8 as particularly useful.
The W3C I18N Activity has collected a few tips on how to declare the encoding of a Web document.
To quickly check whether the document would validate after addressing the missing character encoding information, you can use the "Encoding" form control earlier in the page to force an encoding override to take effect. "iso-8859-1" (Western Europe and North America) and "utf-8" (Universal, but not commonly used in legacy documents) are common encodings if you are not sure what encoding to choose.
Read the FAQ entry on character encoding for more details and pointers on how to fix this problem with your document.
DOCTYPE Override in effect!
Any DOCTYPE Declaration in the document has been suppressed and the
DOCTYPE for ""
inserted instead. The document will not be Valid until you alter the
source file to reflect this new DOCTYPE.
Unable to Determine Parse Mode!
The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
) can be used for XML or SGML document types) is not in the validator's catalog<?xml version="1.0"?>) could be found at the beginning of the document.As a default, the validator is falling back to SGML mode.
Contradictory Parse Modes Detected!
The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions).
This document was served with HTTP headers declaring it as MIME Media Type
(
Following the rules of Web Architecture, validation proceeded using the Fixing this conflict involves either setting the Content-Type header, using a known document type or adding an XML declaration (in the case of XML-based documents).), for which the parsing
mode should be DOCTYPE Declaration indicates
Content-Type header.
No DOCTYPE found! Attempting validation with
The DOCTYPE Declaration was not recognized or is missing. This
probably means that the Formal Public Identifier contains a spelling
error, or that the Declaration is not using correct syntax. Validation
has been performed using a default "fallback" Document Type Definition
that closely resembles "
You should place a DOCTYPE declaration as the very first thing in your HTML document. For example, for a typical XHTML 1.0 document:
<!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>
<title>Title</title>
</head>
<body>
<!-- ... body of document ... -->
</body>
</html>
For XML documents, you may also wish to include an "XML Declaration" even before the DOCTYPE Declaration, but this is not well supported in older browsers. More information about this can be found in the XHTML 1.0 Recommendation.
The W3C QA Activity maintains a List of Valid Doctypes that you can choose from, and the WDG maintains a document on "Choosing a DOCTYPE".
Learn how to add a doctype to your document from our FAQ.
No DOCTYPE found, and unknown root element. Aborting validation.
The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax, or that your document is not using a DOCTYPE Declaration.
Without a DOCTYPE Declaration it is not possible to check the validity of your document. Since the document does not start with the root <html> element, automatic fallback to an HTML document type was not performed, and most of the validation process was aborted: only basic markup syntax was checked.
Learn how to add a doctype to your document
from our FAQ, or use the validator's
Document Type option to validate your document against a specific Document Type.
No DOCTYPE found! Checking XML syntax only.
The DOCTYPE Declaration was not recognized or is missing. This probably means that the Formal Public Identifier contains a spelling error, or that the Declaration is not using correct syntax, or that your XML document is not using a DOCTYPE Declaration.
Validation of the document has been skipped, and a simple check of the well-formedness of the XML syntax has been performed instead.
Learn how to add a doctype to your document from our FAQ, or use the validator's option to validate your XML document against a specific Document Type
Unknown Namespace Found
Unknown namespace ""
for
Namespace Found in non-XML Document
Namespace "" found,
but the
No Namespace Found
No Namespace was found, but document type requires one to be present!
DOCTYPE Override in effect!
The detected DOCTYPE Declaration
"" has been
suppressed and the DOCTYPE for
"" 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.
No DOCTYPE Found!
Falling back to HTML 4.01 Transitional. (explain...)
DOCTYPE Override in effect!
The DOCTYPE Declaration for "
No DOCTYPE Found! Falling Back to
A DOCTYPE Declaration is mandatory for most current markup languages
and without one it is impossible to reliably validate this document.
I am falling back to "
The W3C QA Activity maintains a List of Valid Doctypes that you can choose from, and the WDG maintains a document on "Choosing a DOCTYPE".
So what should I do? Tell me more...
No Character Encoding detected!
To ensure correct validation, processing, and display, it is important that the character encoding is properly labeled. More information...
Character Encoding mismatch!
The character encoding specified in the HTTP header
()
is different from the value in the XML declaration
().
I will use the value from the HTTP header
().
Character Encoding mismatch!
The character encoding specified in the HTTP header
()
is different from the value in the <meta> element
(). I will use the
value from the HTTP header
() for this
validation.
Character Encoding mismatch!
The character encoding specified in the XML declaration
()
is different from the value in the <meta> element
(). I will use the
value from the XML declaration
() for this
validation.
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.
Character Encoding suggestion: use
instead of
The character encoding declared for this document
() may not be widely supported.
This encoding is equivalent to
which may be better supported across platforms.
More information on declaring a character encoding on your Web server or in your document can be found on the W3C Internationalization site.
Conflict between Mime Type and Document Type
The document is being served with the Mime Type
which is not a registered media type for the
Document Type. The recommended media type
for this document is:
Using a wrong media type for a certain document type may confuse the validator and other user agents with respect to the nature of the document, and you may get some erroneous validation errors. How to fix this problem? One of the following techniques should help:
.xhtml for XHTML or .mathml for MathML.
Rare or unregistered character encoding detected
The character encoding declared for this document
()
is supported by the validator, but may not be widely supported across platforms.
For the sake of interoperability, it is best to use a unicode character encoding
such as UTF-8, or one of the
registered character
encodings.
More information on declaring a character encoding on your Web server or in your document can be found on the W3C Internationalization site.
This document does not declare any DOCTYPE. A Doctype declaration is generally
needed for validation, but the checked document uses markup specific to
Validation was performed as if the DOCTYPE for