html-author/Overview.html 1.42 Updated DOCTYPE syntax description for X

Updated DOCTYPE syntax description for XHTML

3 The HTML and XHTML Syntax
http://people.w3.org/mike/diffs/html5/html-author/Overview.1.42.html#the-html-and-xhtml-syntax
3.2.1 DOCTYPE Declaration
http://people.w3.org/mike/diffs/html5/html-author/Overview.1.42.html#doctype-declaration

http://people.w3.org/mike/diffs/html5/html-author/Overview.diff.html
http://dev.w3.org/cvsweb/html5/html-author/Overview.html?r1=1.41&r2=1.42&f=h

===================================================================
RCS file: /sources/public/html5/html-author/Overview.html,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- Overview.html 5 Mar 2009 16:58:50 -0000 1.41
+++ Overview.html 5 Mar 2009 17:05:36 -0000 1.42
@@ -593,22 +593,26 @@
 &lt;!Doctype HTML System "about:legacy-compat"&gt;</code></pre>
    </div>
    
-   <p>In XHTML, however, the DOCTYPE is case sensitive, and only the canonical
-      versions of the <code>DOCTYPE</code>s given above may be used.</p>
+   <p>For XHTML, it is recommended that the <code>DOCTYPE</code> be
+      omitted because it is unnecessary. However, should you wish to
+      use a <code>DOCTYPE</code>, note that the <code>DOCTYPE</code>
+      is case sensitive, and only the canonical versions of the
+      <code>DOCTYPE</code>s given above may be used.</p>
 
    <div class="xhtml example">
     <p>XHTML Example:</p>
     <pre><code>&lt;!DOCTYPE html&gt;
 
-&lt;!DOCTYPE html SYSTEM "about:legacy-compat"&gt;</code></pre>
+&lt;!DOCTYPE html SYSTEM "about:legacy-compat"&gt;
+
+&lt;!DOCTYPE html SYSTEM 'about:legacy-compat'&gt;</code></pre>
    </div>
 
    <p>However, there are no restrictions placed on the use of alternative
-      DOCTYPEs in XHTML. You may, if you wish, use a custom <code>DOCTYPE</code>
-      referring to a custom DTD, typically for validation purposes.
-      Although, be advised that DTDs have a number of limitations compared
-      with other alternative schema languages.</p>
-
+      <code>DOCTYPE</code>s in XHTML. You may, if you wish, use a custom
+      <code>DOCTYPE</code> referring to a custom DTD, typically for
+      validation purposes. Although, be advised that DTDs have a number
+      of limitations compared with other alternative schema languages.</p>
   </section>
 
   <section>

Index: Overview.src.html
===================================================================
RCS file: /sources/public/html5/html-author/Overview.src.html,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Overview.src.html 5 Mar 2009 16:58:50 -0000 1.42
+++ Overview.src.html 5 Mar 2009 17:05:36 -0000 1.43
@@ -439,22 +439,26 @@
 &lt;!Doctype HTML System "about:legacy-compat"&gt;</code></pre>
    </div>
    
-   <p>In XHTML, however, the DOCTYPE is case sensitive, and only the canonical
-      versions of the <code>DOCTYPE</code>s given above may be used.</p>
+   <p>For XHTML, it is recommended that the <code>DOCTYPE</code> be
+      omitted because it is unnecessary. However, should you wish to
+      use a <code>DOCTYPE</code>, note that the <code>DOCTYPE</code>
+      is case sensitive, and only the canonical versions of the
+      <code>DOCTYPE</code>s given above may be used.</p>
 
    <div class="xhtml example">
     <p>XHTML Example:</p>
     <pre><code>&lt;!DOCTYPE html&gt;
 
-&lt;!DOCTYPE html SYSTEM "about:legacy-compat"&gt;</code></pre>
+&lt;!DOCTYPE html SYSTEM "about:legacy-compat"&gt;
+
+&lt;!DOCTYPE html SYSTEM 'about:legacy-compat'&gt;</code></pre>
    </div>
 
    <p>However, there are no restrictions placed on the use of alternative
-      DOCTYPEs in XHTML. You may, if you wish, use a custom <code>DOCTYPE</code>
-      referring to a custom DTD, typically for validation purposes.
-      Although, be advised that DTDs have a number of limitations compared
-      with other alternative schema languages.</p>
-
+      <code>DOCTYPE</code>s in XHTML. You may, if you wish, use a custom
+      <code>DOCTYPE</code> referring to a custom DTD, typically for
+      validation purposes. Although, be advised that DTDs have a number
+      of limitations compared with other alternative schema languages.</p>
   </section>
 
   <section>

Received on Sunday, 8 March 2009 13:38:29 UTC