<div id="result">

        <TMPL_IF NAME="have_warnings">
          <TMPL_INCLUDE NAME="warnings.tmpl">
        </TMPL_IF>

<TMPL_IF NAME="has_errors">
<h3 id="warning_loop">Validation Output<TMPL_IF NAME="number_of_warnings_is_1">: 1 Warning</TMPL_IF><TMPL_IF NAME="number_of_warnings_is_plural">: <TMPL_VAR NAME="valid_warnings_num" ESCAPE="HTML"> Warnings</TMPL_IF>
        </h3>
    <p>
      Below is a list of the warning message(s) produced when validating your document.
    </p>
    <TMPL_IF NAME="opt_group_errors">
        <TMPL_INCLUDE NAME="error_loop_grouped.tmpl">
    <TMPL_ELSE>
        <TMPL_INCLUDE NAME="error_loop.tmpl">
    </TMPL_IF>
</TMPL_IF>

<h3 id="congrats">Congratulations</h3>
  <p>
<TMPL_IF NAME="is_upload">
    The uploaded document "<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"
<TMPL_ELSE>
    The document located at
    &lt;<a href="<TMPL_VAR NAME="file_uri" ESCAPE="HTML">"><TMPL_VAR NAME="file_uri" ESCAPE="HTML"></a>&gt;
</TMPL_IF>
<TMPL_IF NAME="is_tentative">
    was checked and found to be <em>tentatively</em> valid <TMPL_VAR NAME="file_version" ESCAPE="HTML">.
    This means that with the use of some fallback or override mechanism, 
    we successfully performed a formal validation using an SGML or XML 
    Parser. In other words, the document would validate as 
    <TMPL_VAR NAME="file_version" ESCAPE="HTML"> if you changed the markup
    to match the changes we have performed automatically, but 
    <strong>it will not be valid until you make these changes</strong>.
<TMPL_ELSE>
    was checked and found to be 
    <TMPL_IF NAME="xmlwf_only">well-formed<TMPL_ELSE>valid</TMPL_IF>
    <TMPL_VAR NAME="file_version" ESCAPE="HTML">.  
    <TMPL_IF NAME="xmlwf_only">This means that we were not able to determine 
    the exact document type, but that the document passed the XML well-formedness
    syntax check. If you wish to wish to perform formal validation of the document,
    you can use the "Document Type:" option of the validator.
    <TMPL_ELSE>
    This means that the resource in question identified itself as
    "<TMPL_VAR NAME="file_version" ESCAPE="HTML">" and that we successfully
    performed a formal validation using an SGML or XML Parser (depending on
    the markup language used).
    </TMPL_IF>
</TMPL_IF>
  </p>
<TMPL_IF NAME="have_badge">
<h4>"valid" Icon(s) on your Web page</h4>
  <p>
    To show your readers that you have taken the care to create an
    interoperable Web page, you may display this icon on any page
    that validates. Here is the HTML you could use to add this icon
    to your Web page:
  </p>
  <img
    class="inline-badge" src="<TMPL_IF NAME="have_local_badge"><TMPL_VAR NAME="local_badge_uri" ESCAPE="HTML"><TMPL_ELSE><TMPL_VAR NAME="badge_uri" ESCAPE="HTML"></TMPL_IF>"
    alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
    <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
    <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
     /> <pre class="badgeSnippet">
  &lt;p&gt;
    &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"&gt;&lt;img
        src="<TMPL_VAR NAME="badge_uri" ESCAPE="HTML">"
        <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">&gt;&lt;/a&gt;
  &lt;/p&gt;
  </pre>
  <TMPL_IF NAME="have_alt_badge">
  <img
    class="inline-badge" src="<TMPL_IF NAME="have_local_badge"><TMPL_VAR NAME="local_alt_badge_uri" ESCAPE="HTML"><TMPL_ELSE><TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML"></TMPL_IF>"
    alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"
    <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF>
    <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF>
     /> <pre class="badgeSnippet">
  &lt;p&gt;
    &lt;a href="<TMPL_VAR NAME="cfg_home_page" ESCAPE="HTML">check?uri=referer"&gt;&lt;img
        src="<TMPL_VAR NAME="badge_alt_uri" ESCAPE="HTML">"
        <TMPL_IF NAME="badge_alt">alt="<TMPL_VAR NAME="badge_alt" ESCAPE="HTML">"</TMPL_IF> <TMPL_IF NAME="badge_h">height="<TMPL_VAR NAME="badge_h">"</TMPL_IF> <TMPL_IF NAME="badge_w">width="<TMPL_VAR NAME="badge_w">"</TMPL_IF><TMPL_VAR NAME="badge_tagc">&gt;&lt;/a&gt;
  &lt;/p&gt;
  </pre>
  </TMPL_IF>
  <p>A <a href="http://www.w3.org/QA/Tools/Icons">full list</a> of icons, with links to alternate formats and colors, is available: 
    If you like, you can download a copy of the icons
    to keep in your local web directory, and change the HTML fragment
    above to reference your local image rather than the one on this server.
  </p>
</TMPL_IF>
<TMPL_UNLESS NAME="is_upload">
<h4>Linking to this result</h4>
  <p>
    If you would like to create a link to <em>this</em> page (i.e., this
    validation result) to make it easier to revalidate this page in the
    future or to allow others to validate your page, the URI is
    &lt;<a href="<TMPL_VAR NAME="file_thispage" ESCAPE="HTML">"><TMPL_VAR NAME="file_thispage" ESCAPE="HTML"></a>&gt;
    (or you can just add the current page to your bookmarks or hotlist).
  </p>
</TMPL_UNLESS>
<h4>Validating CSS Style Sheets</h4>
  <p>
    If you use <a href="http://www.w3.org/Style/CSS/">CSS</a> in your document,
    you can 
<TMPL_IF NAME="is_upload">
    check it for validity
<TMPL_ELSE>
    <a title="Validate CSS at the W3C CSS Validator"
    href="http://jigsaw.w3.org/css-validator/validator?uri=<TMPL_VAR NAME="file_uri_param">">check
    it for validity</a>
</TMPL_IF>
    using the W3C
    <a href="http://jigsaw.w3.org/css-validator/">CSS Validation Service</a>.
  </p>


<TMPL_INCLUDE NAME="backtop.tmpl">

</div><!-- end of "result" -->
