<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>298</bug_id>
          
          <creation_ts>2003-08-27 00:38:08 +0000</creation_ts>
          <short_desc>Context sensitive tips for DOCTYPE/Charset...</short_desc>
          <delta_ts>2007-03-29 18:49:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Validator</product>
          <component>check</component>
          <version>0.6.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.w3.org/mid/3F375DDD.3090108@ikf.nlh.no</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Terje Bless">link</reporter>
          <assigned_to name="Terje Bless">link</assigned_to>
          
          
          <qa_contact name="qa-dev tracking">www-validator-cvs</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>695</commentid>
    <comment_count>0</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-08-27 00:38:08 +0000</bug_when>
    <thetext>From Håvard Tveite &lt;havard.tveite@ikf.nlh.no&gt;:

When a user has chosen &quot;Encoding&quot; and &quot;Doctype&quot; on the
validator page, it would be very useful if the validator
could make a suggestion regarding the use of tags.

For instance when choosing &quot;iso-8859-1 (Western Europe)&quot; for
Encoding and &quot;HTML 2.0&quot; for Doctype, the Validator currently
gives the following information:

 &gt;DOCTYPE Override in effect! Any DOCTYPE Declaration in the document
 &gt;has been suppressed and the DOCTYPE for «HTML 2.0» inserted instead.
 &gt;The document will not be Valid until you alter the source file to
 &gt;reflect this new DOCTYPE.

If, in addition, something like the following could be
suggested to the user, I think it would help beginners a lot:

  You can specify that this page uses the DOCTYPE &quot;HTML 2.0&quot;
  by inserting:
  &lt;!DOCTYPE HTML PUBLIC &quot;-//IETF//DTD HTML//EN&quot;&gt;
  as the first line of the document.
  You can specify that the character encoding is &quot;iso-8859-1&quot;
  by inserting:
  &lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot;&gt;
  within the &lt;head&gt; tag of the document.

I hope it is possible to make this information available in
standard mode (if that is not possible, perhaps it culd be
available in verbose mode).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>696</commentid>
    <comment_count>1</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2003-08-27 00:39:34 +0000</bug_when>
    <thetext>With the infrastructure for better handling of DCOTYPEs in 0.7.0, we should be
able to add this with a fairly simple lookup table (which we&apos;ll allready have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2046</commentid>
    <comment_count>2</comment_count>
    <who name="">rtbeauregard</who>
    <bug_when>2004-06-24 10:28:32 +0000</bug_when>
    <thetext>Not sure if this is the best place to post this...
Recently I discovered that using a doctype without a url, for example, &lt;!DOCTYPE HTML PUBLIC &quot;-//
W3C//DTD HTML 4.01 Transitional//EN&quot;&gt; instead of, &lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 
4.01 Transitional//EN&quot;  &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&gt; produces different results in 
different browsers.  It would be nice if the validator suggested, at the top of the validation results, to 
add the url to the doctype.
Thanks for your attention - apologies if this is an irrelevant post.
--RT</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2194</commentid>
    <comment_count>3</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-01 12:56:18 +0000</bug_when>
    <thetext>Accepting buig and targetting 0.7.0 release. May have to bump for a later
version because it involves some tedious work and timing issues may get in
the way.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2308</commentid>
    <comment_count>4</comment_count>
    <who name="Terje Bless">link</who>
    <bug_when>2004-09-09 18:30:17 +0000</bug_when>
    <thetext>Don&apos;t see this happening for 0.7.0; retargetting and removing blocker.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>