W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2009

html5/markup/src syntax.html,1.55,1.56

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Fri, 10 Jul 2009 02:29:20 +0000
To: public-html-commits@w3.org
Message-Id: <E1MP5rU-0005u9-Ms@lionel-hutz.w3.org>
Update of /sources/public/html5/markup/src
In directory hutz:/tmp/cvs-serv22568/src

Modified Files:
	syntax.html 
Log Message:
support treatment of XHTML 1.0 and HTML 4.01, etc., DOCTYPES as things to warn about (instead of as errors)


Index: syntax.html
===================================================================
RCS file: /sources/public/html5/markup/src/syntax.html,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- syntax.html	9 Jul 2009 20:31:08 -0000	1.55
+++ syntax.html	10 Jul 2009 02:29:18 -0000	1.56
@@ -13,7 +13,12 @@
     <a href="#doctype.pattern">doctype</a>
     or
     <a href="#doctype.legacy">doctype.legacy</a>
-    patterns defined this specification.</p>
+    patterns defined this specification, or must match the
+    definition of a
+    <code class="defined-elsewhere">doctypedecl</code>
+    (<b class="defined-elsewhere">document type declaration</b>)
+    given in the XML specification
+    <a href="#refsXML">[XML]</a>.</p>
     <p>The <code>doctype</code> pattern is defined as follows:</p>
     <dl class="pattern-def">
       <dt><a id="doctype.pattern"
@@ -27,7 +32,7 @@
     </dl>
     <div class="example">
     <p>The following are examples of some DOCTYPEs that match the
-    above pattern.</p>
+    <a href="#doctype">doctype</a> pattern.</p>
     <pre>&lt;!doctype html></pre>
     <pre>&lt;!DOCTYPE HTML></pre>
     </div>
@@ -46,10 +51,22 @@
     </dl>
     <div class="example">
     <p>The following are examples of some DOCTYPEs that match the
-    above pattern.</p>
+    <a href="#doctype,legacy">doctype.legacy</a> pattern.</p>
     <pre>&lt;!doctype html system 'about:legacy-compat'></pre>
     <pre>&lt;!DOCTYPE HTML system "about:legacy-compat"></pre>
     </div>
+    <p>The following are examples of some DOCTYPEs that match the 
+    definition of a
+    <code class="defined-elsewhere">doctypedecl</code>
+    (<b class="defined-elsewhere">document type declaration</b>)
+    given in the XML specification
+    <a href="#refsXML">[XML]</a>.</p>
+    <div class="example">
+    <pre>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"></pre>
+    <pre>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+  "http://www.w3.org/TR/html4/strict.dtd"></pre>
+    </div>
   </section>
   <section id="character-encoding">
     <h2>Character encoding declaration</h2>
@@ -162,11 +179,12 @@
       </dd>
     </dl>
     <p id="elements-html-syntax">The following list describes syntax
-      rules for the <a href="#html-syntax">the HTML syntax</a>.
-      Rules for the <a
-      href="#xml-syntax">the XML syntax</a> are defined in 
-    the XML specification <a
-      href="#refsXML">[XML]</a>.</p>
+      rules for the
+      <a href="#html-syntax">the HTML syntax</a>.
+      Rules for the
+      <a href="#xml-syntax">the XML syntax</a>
+      are defined in the XML specification
+      <a href="#refsXML">[XML]</a>.</p>
     <ul>
     <li><dfn id="tags" title="syntax-tags">Tags</dfn> are used to
     delimit the start and end of elements in the markup. Elements
Received on Friday, 10 July 2009 02:29:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 10 July 2009 02:29:35 GMT