<h3 id="preparse_warnings">Important Warnings</h3>
<p>The validator has found the following problem(s) prior to validation, 
        which should be addressed in priority:</p>
<ol id="warnings">

<TMPL_IF NAME="W01">
  <li class="msg_warn" id="W01"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Missing "<code>charset</code>" attribute for
    "<code><TMPL_VAR NAME="W01_ct" ESCAPE="HTML"></code>" document.</span>
    <p>
      The HTTP <code>Content-Type</code> header
      (<code><TMPL_VAR NAME="W01_ct" ESCAPE="HTML"></code>) sent by your web
      <TMPL_IF NAME="W01_upload">browser<TMPL_ELSE>server</TMPL_IF>
      (<code><TMPL_VAR NAME="W01_agent" ESCAPE="HTML"></code>) did not contain
      a "<code>charset</code>" parameter, but the Content-Type was one of
      the XML <code>text/*</code> sub-types.
    </p>
    <p>
      The relevant specification
      (<a href="http://www.ietf.org/rfc/rfc3023.txt">RFC 3023</a>)
      specifies a strong default of "<code>us-ascii</code>" for
      such documents so we will use this value regardless of any encoding you
      may have indicated elsewhere.
    <p>
      If you would like to use a different encoding, you should arrange to have
      your <TMPL_IF NAME="W01_upload">browser<TMPL_ELSE>server</TMPL_IF> send
      this new encoding information.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W02">
  <li class="msg_warn" id="W02"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No Character Encoding Found!</span>
  
    <p>
      Falling back to
      "<code><TMPL_VAR NAME="W02_charset" ESCAPE="HTML"></code>"
      (<a href="docs/users.html#fbc">explain...</a>).
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W03">
  <li class="msg_warn" id="W03"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding Override in effect!</span>
  
    <p>
      The detected character encoding
      "<code><TMPL_VAR NAME="W03_use" ESCAPE="HTML"></code>"
      has been suppressed and
      "<code><TMPL_VAR NAME="W03_opt" ESCAPE="HTML"></code>" used instead.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W04">
  <li class="msg_warn" id="W04"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No Character Encoding Found!</span>
    <TMPL_IF NAME="W04_override">
      Using
    <TMPL_ELSE>
      Falling back to 
    </TMPL_IF>
    <code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>.
  
  
  <TMPL_IF NAME="W04_override">
    <p>I was not able to extract a character encoding labeling from any of
      the valid sources for such information. I will use the character 
      encoding <code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>,
      which you have chosen via the <code>Encoding</code> override option, for 
      tentative validation. 
    </p>
  <TMPL_ELSE>
    <p>
      I was not able to extract a character encoding labeling from any of
      the valid sources for such information. Without encoding information
      it is impossible to reliably validate the document. I'm falling back
      to the "<code><TMPL_IF NAME="W04_charset"><TMPL_VAR NAME="W04_charset" ESCAPE="HTML"><TMPL_ELSE>UTF-8</TMPL_IF></code>" 
      encoding and will attempt to perform the validation,
      but this is likely to fail for all non-trivial documents.
    </p>
  </TMPL_IF>
  <TMPL_IF NAME="opt_verbose">
    <p>The sources I tried to find encoding information include:</p>
    <ul>
      <li>The HTTP Content-Type field.</li>
      <li>The XML Declaration.</li>
      <li>The HTML "META" element.</li>
    </ul>
    <p>
      And I even tried to autodetect it using the algorithm defined in
      <a href="http://www.w3.org/TR/REC-xml#sec-guessing">Appendix F of
        the XML 1.0 Recommendation</a>.
    </p>
    <p>
      Since none of these sources yielded any usable information, I will not be
      able to reliably validate this document. Sorry. Please make sure you
      specify the character encoding in use.
    </p>
      <p>Specifying a character encoding is typically done by the web server
	configuration, by the scripts that put together pages, and inside the
	document itself. <a href="http://www.iana.org/"><abbr title="Internet Assigned Numbers Authority">IANA</abbr></a> 
    maintains the list of
	<a href="http://www.iana.org/assignments/character-sets">official names for character
	encodings</a> (called charsets in this context). You can choose from a number
	of encodings, though we recommend UTF-8 as particularly useful.</p>

	<p>The W3C <abbr title="Internationalization">I18N</abbr> Activity has collected a 
		<a href="http://www.w3.org/International/O-charset">few tips on
	how to do this</a>.</p>
	<p>
      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.
    </p>
  <TMPL_ELSE>
    <p>Read the <a href="docs/help.html#faq-charset"><acronym title="Frequently Asked Questions">FAQ</acronym> 
    entry on character encoding</a> for more details and pointers on how to fix this problem with your document.</p>
  </TMPL_IF>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W05">
  <li class="msg_warn" id="W05"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg"><code>DOCTYPE</code> Override in effect!</span>
  
    <p>
      Any DOCTYPE Declaration in the document has been suppressed and the
      DOCTYPE for "<code><TMPL_VAR NAME="W05_dtd" ESCAPE="HTML"></code>"
      inserted instead. The document will not be Valid until you alter the
      source file to reflect this new DOCTYPE.
    </p>
  </li>
</TMPL_IF>

<TMPL_IF NAME="W06">
  <li class="msg_warn" id="W06"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Unable to Determine Parse Mode!</span>
  <p>It was not possible  to reliably choose  a parsing mode for this document, because:</p>
  <ul>
    <TMPL_IF NAME="W06_mime"><li>
    the MIME Media Type (<code><TMPL_VAR NAME="W06_mime" ESCAPE="HTML"></code>)  can be used for XML or SGML document types</li><TMPL_ELSE><li>in <em>Direct Input</em> mode, no MIME Media Type is served to the validator</li></TMPL_IF>
    <TMPL_IF NAME="w06_doctype"><li>the Document Type (<code><TMPL_VAR NAME="w06_doctype" ESCAPE="HTML"></code>) is not in the validator's catalog</li><TMPL_ELSE><li>No known Document Type could be detected</li></TMPL_IF>
    <li>No XML declaration (<abbr>e.g</abbr> <code>&lt;?xml version="1.0"?&gt;</code>) could be found at the beginning of the document.</li>
    </ul>
    <p>The validator is falling back to SGML mode.</p></li>
</TMPL_IF>
<TMPL_IF NAME="W07">
  <li class="msg_warn" id="W07"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Contradictory Parse Modes Detected!</span>
  
    <p>
      The MIME Media Type
      (<code><TMPL_VAR NAME="W07_mime" ESCAPE="HTML"></code>) indicated parse
       mode should be <TMPL_VAR NAME="W07_ct" ESCAPE="HTML">, but the
       <code>DOCTYPE</code> Declaration indicates
       <TMPL_VAR NAME="W07_dtd" ESCAPE="HTML"> mode.  Using
       <TMPL_VAR NAME="W07_ct" ESCAPE="HTML"> mode based on the
       <code>Content-Type</code> header.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W08">
  <li class="msg_warn" id="W08"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Unknown Parse Mode!</span>
  
    <p>
      The MIME Media Type
      (<code><TMPL_VAR NAME="W08_mime" ESCAPE="HTML"></code>) for this
      document is used to serve both SGML and XML based documents, 
      and it is not possible to disambiguate it 
      based on the <code>DOCTYPE</code> Declaration in your document. Parsing
      will continue in SGML mode.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W09">
  <li class="msg_warn" id="W09"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> found! Attempting validation with <TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">.</span>
  
    <p>
      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 "<TMPL_VAR NAME="W09_dtd" ESCAPE="HTML">", but the
      document will not be Valid until you have corrected this problem with the
      DOCTYPE Declaration.
    </p>
    <TMPL_IF NAME="opt_verbose">
    <p>
      You should place a DOCTYPE declaration as the very first thing in your
      HTML document. For example, for a typical <a
      href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> document:
    </p>
    <pre>
      &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
      &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt;
        &lt;head&gt;
          &lt;title&gt;Title&lt;/title&gt;
        &lt;/head&gt;

        &lt;body&gt;
          &lt;!-- ... body of document ... --&gt;
        &lt;/body&gt;
      &lt;/html&gt;
    </pre>
    <p>
      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
      <a href="http://www.w3.org/TR/xhtml1/">XHTML 1.0</a> Recommendation.
    </p>
      <p>
        The W3C QA Activity maintains a <a
          href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
            Valid Doctypes</a> that you can choose from, and the <acronym
          title="Web Design Group">WDG</acronym> maintains a document on
        "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
           a DOCTYPE</a>".
      </p>
  <TMPL_ELSE>
    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
    from our <acronym title="Frequently Asked Questions">FAQ</acronym>.</p>
  </TMPL_IF>

  </li>
</TMPL_IF>
<TMPL_IF NAME="W09nohtml">
  <li class="msg_warn" id="W09nohtml"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> found, and unknown root element. Aborting validation.</span>
  
    <p>
      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.
    </p>
    <p>
      Without a DOCTYPE Declaration it is not possible to check the validity of your document. Since the document does not start with the root &lt;html&gt; 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.
    </p>
    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
    from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
    <code>Document Type</code> option to validate your document against a specific Document Type.</p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W09xml">
  <li class="msg_warn" id="W09xml"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> found! Checking XML syntax only.</span>
  
    <p>
      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.
    </p>
    <p>
      Validation of the document has been skipped, and a simple check of the well-formedness
      of the XML syntax has been performed instead.
    </p>
    <p>Learn <a href="docs/help.html#faq-doctype">how to add a doctype to your document</a> 
    from our <acronym title="Frequently Asked Questions">FAQ</acronym>, or use the validator's
    option to validate your XML document against a specific Document Type</p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W10">
  <li class="msg_warn" id="W10"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Unknown Namespace Found</span>
  
    <p>
      Unknown namespace "<code><TMPL_VAR NAME="W10_ns" ESCAPE="HTML"></code>"
      for <TMPL_VAR NAME="W10_type" ESCAPE="HTML"> document!
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W11">
  <li class="msg_warn" id="W11"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Namespace Found in non-XML Document</span>
  
    <p>
      Namespace "<code><TMPL_VAR NAME="W11_rns" ESCAPE="HTML"></code>" found,
      but document type is not XML!
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W12">
  <li class="msg_warn" id="W12"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No Namespace Found</span>
  
    <p>
      No Namespace was found, but document type requires one to be present!
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W13">
  <li class="msg_warn" id="W13"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg"><code>DOCTYPE</code> Override in effect!</span>
  
    <p>
      The detected DOCTYPE Declaration
      "<code><TMPL_VAR NAME="W13_org"></code>" has been
      suppressed and the DOCTYPE for
      "<code><TMPL_VAR NAME="W13_new" ESCAPE="HTML"></code>" 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.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W14">
  <li class="msg_warn" id="W14"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No <code>DOCTYPE</code> Found!</span>
  
    <p>
      Falling back to HTML 4.01 Transitional.
      (<a href="docs/users.html#fbd">explain...</a>)
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W15">
  <li class="msg_warn" id="W15"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg"><code>DOCTYPE</code> Override in effect!</span>
  
    <p>
      The DOCTYPE Declaration for "<TMPL_VAR NAME="W15_dtd" ESCAPE="HTML">"
      has been inserted at the start of the document, but even if no errors
      are shown below the document will not be Valid until you add the new
      DOCTYPE Declaration.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W16">
  <li class="msg_warn" id="W16"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No DOCTYPE Found! Falling Back to
    <TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">.</span>
  
    <p>
      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 "<TMPL_VAR NAME="W16_dtd" ESCAPE="HTML">" and will
      attempt to validate the document anyway, but this is very likely to
      produce spurious error messages for most non-trivial documents.
    </p>
  <TMPL_IF NAME="opt_verbose">
    <TMPL_INCLUDE NAME="doctype_spiel.tmpl">
    <p>
      The W3C QA Activity maintains a <a
        href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">List of
          Valid Doctypes</a> that you can choose from, and the <acronym
        title="Web Design Group">WDG</acronym> maintains a document on
      "<a href="http://htmlhelp.com/tools/validator/doctype.html">Choosing
         a DOCTYPE</a>".
    </p>
  <TMPL_ELSE>
    <p>
      So what should I do?
      <a href="docs/help.html#faq-doctype">Tell me more...</a>
    </p>
  </TMPL_IF>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W17">
  <li class="msg_warn" id="W17"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">No Character Encoding detected!</span>
  
    <p>
      To ensure correct validation, processing, and display, it is important
      that the character encoding is properly labeled.
      <a href="http://www.w3.org/International/O-charset.html">More
      information...</a>
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W18">
  <li class="msg_warn" id="W18"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding mismatch!</span>
  
    <p>
      The character encoding specified in the HTTP header
        (<code><TMPL_VAR NAME="W18_http" ESCAPE="HTML"></code>)
      is different from the value in the XML declaration
        (<code><TMPL_VAR NAME="W18_xml" ESCAPE="HTML"></code>).
      I will use the value from the HTTP header
        (<code><TMPL_VAR NAME="W18_use" ESCAPE="HTML"></code>).
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W19">
  <li class="msg_warn" id="W19"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding mismatch!</span>
  
    <p>
      The character encoding specified in the HTTP header
        (<code><TMPL_VAR NAME="W19_http" ESCAPE="HTML"></code>)
      is different from the value in the <code>&lt;meta&gt;</code> element
      (<code><TMPL_VAR NAME="W19_meta" ESCAPE="HTML"></code>). I will use the
      value from the HTTP header
      (<code><TMPL_VAR NAME="W19_use" ESCAPE="HTML"></code>) for this
      validation.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W20">
  <li class="msg_warn" id="W20"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding mismatch!</span>
  
    <p>
      The character encoding specified in the XML declaration
      (<code><TMPL_VAR NAME="W20_xml" ESCAPE="HTML"></code>)
      is different from the value in the <code>&lt;meta&gt;</code> element
      (<code><TMPL_VAR NAME="W20_meta" ESCAPE="HTML"></code>). I will use the
      value from the XML declaration
      (<code><TMPL_VAR NAME="W20_xml" ESCAPE="HTML"></code>) for this
      validation.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W21">
  <li class="msg_warn" id="W21"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Byte-Order Mark found in UTF-8 File.</span>
  
    <p>
      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.
    </p>
  </li>
</TMPL_IF>
<TMPL_IF NAME="W22">
  <li class="msg_warn" id="W22"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Character Encoding suggestion: use 
  <code><TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"></code> instead of <code><TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></code></span>
  
    <p>
      The character encoding declared for this document 
      (<code><TMPL_VAR NAME="W22_declared" ESCAPE="HTML"></code>) may not be widely supported.
      This encoding is equivalent to <code><TMPL_VAR NAME="W22_suggested" ESCAPE="HTML"></code>
      which may be better supported across platforms.
    </p> 
    <p>
      More information on <a href="http://www.w3.org/International/O-charset.html">declaring a character encoding on your Web server or in your document</a> can be found on the W3C Internationalization site.
    </p>
  </li>
</TMPL_IF>


<TMPL_IF NAME="W23">
  <li class="msg_warn" id="W23"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Conflict between Mime Type and Document Type</span>
  
    <p>The document is being served with the  <code><TMPL_VAR NAME="W23_type" ESCAPE="HTML"></code> Mime Type
      which is not a registered media type for the 
      <code><TMPL_VAR NAME="W23_doctype" ESCAPE="HTML"></code> Document Type. The recommended media type 
      for this document is: <code><TMPL_VAR NAME="W23_type_pref" ESCAPE="HTML"></code></p>
           
   <p>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:</p>
   <ul>     
      <li>If you are serving a static file on a Web server, changing its extension should help. 
        Use e.g <code>.xhtml</code> for XHTML or <code>.mathml</code> for MathML.              
     </li>
     <li>You may need to reconfigure your Web server. This <a  href="http://www.developershome.com/wap/wapServerSetup/tutorial.asp?page=settingUpMIME">Setting up MIME Types tutorial</a> has instructions for Apache, Tomcat and IIS.
</li>
     <li>If the document is generated dynamically, the scripting language should allow you to set up the mime type: 
             this <a href="http://juicystudio.com/article/content-negotiation.php">article on MIME Types and Content Negotiation</a> has examples in PHP, Perl, and ASP.</li>
    </ul>
  </li>
</TMPL_IF>


<TMPL_IF NAME="W24">
  <li class="msg_warn" id="W24"><span class="err_type"><img src="images/info_icons/warning.png" alt="Warning" title="Warning" /></span> <span class="msg">Rare or unregistered character encoding detected</span>
  
    <p>
      The character encoding declared for this document 
      (<code><TMPL_VAR NAME="W24_declared" ESCAPE="HTML"></code>) 
      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 <code>UTF-8</code>, or one of the 
      <a href="http://www.iana.org/assignments/character-sets">registered character
  	encodings</a>.
    </p> 
    <p>
      More information on <a href="http://www.w3.org/International/O-charset.html">declaring a character encoding on your Web server or in your document</a> can be found on the W3C Internationalization site.
    </p>
  </li>
</TMPL_IF>



<TMPL_IF NAME="W@@">
  <li class="msg_warn" id="W@@">
  
    <p>
    </p>
  </li>
</TMPL_IF>

</ol><!-- End of "warnings". -->
