CVS html5/html-xhtml-author-guide

Update of /sources/public/html5/html-xhtml-author-guide
In directory roscoe:/tmp/cvs-serv24745/html-xhtml-author-guide

Modified Files:
	html-xhtml-authoring-guide.html 
Log Message:
Turned the text about how innerHTML is parsed into a note.

--- /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html	2013/04/24 15:30:54	1.106
+++ /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html	2013/05/20 11:06:33	1.107
@@ -1,23 +1,21 @@
 <!DOCTYPE html>
-
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US" >
-
 <head>
 	<title>Polyglot Markup: A robust profile of the HTML5 vocabulary</title>
 	<meta charset="utf-8" />
 	<script class="remove" src="http://www.w3.org/Tools/respec/respec-w3c-common" async=""></script>
 	<script class="remove">
 	      var respecConfig = {
-	          specStatus:           "ED",
-	          shortName:            "html-polyglot",
-                  publishDate:  "2013-04-24",
+	          specStatus:   "ED",
+	          shortName:    "html-polyglot",
+                  publishDate:  "2013-05-20",
 	          previousPublishDate:  "2010-10-19",
 	          previousMaturity:  "WD",
 	          edDraftURI:           "http://dev.w3.org/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html",
 	          // lcEnd: "2009-08-05",
 	          editors:  [
 	              { name: "Eliot Graff", company: "Microsoft Corporation" },
-	              { name: "Leif H. Silli", company: "&amp;METODIUS DA" },
+	              { name: "Leif H. Silli", company: "&amp;METODIUS DA"},
 	          ],
 	          wg:           "HTML working group",
 	          wgURI:        "http://www.w3.org/html/wg/",
@@ -208,23 +206,22 @@
 	
 	<section id="element-level-namespaces" class="section">
 	<h3>Element-Level Namespaces</h3>
-		<p>
-			[[!HTML5]] introduces undeclared (native) default namespaces for the root HTML element, <code>html</code>, the root SVG element, <code>svg</code>, 
-			and the root MathML element, <code>math</code>.
-			<a title="polyglot markup">Polyglot markup</a> declares the following default namespaces, when the markup languages are included in the document, to maintain XML-compatibility [[!XML10]]:
-			<ul>
-				<li><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;</code></li>
-				<li><code>&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML"&gt;</code></li>
-				<li><code>&lt;svg xmlns="http://www.w3.org/2000/svg"&gt;</code></li>
-			</ul>
-		</p>
-		<p>
-			<a title="polyglot markup">Polyglot markup</a> declares the default namespaces on the root HTML element, <code>html</code>, 
-			the root SVG element, <code>svg</code>, and the root MathML element <code>math</code>, 
-			and on any HTML elements used as children of SVG or MathML elements.  
-			<a title="polyglot markup">Polyglot markup</a> does not declare any other default or prefixed element namespace, because 
-			[[!HTML5]] does not natively support the declaring of any other default or prefixed element namespace. 
-		</p>
+	<p>
+		[[!HTML5]] introduces undeclared (native) default namespaces for the root HTML element, <code>html</code>, the root SVG element, <code>svg</code>,
+		and the root MathML element, <code>math</code>.
+		<a title="polyglot markup">Polyglot markup</a> declares the following default namespaces, when the markup languages are included in the document, to maintain XML-compatibility [[!XML10]]:</p>
+	<ul>
+		<li><code>&lt;html xmlns="http://www.w3.org/1999/xhtml"></code></li>
+		<li><code>&lt;math xmlns=&quot;http://www.w3.org/1998/Math/MathML"></code></li>
+		<li><code>&lt;svg xmlns="http://www.w3.org/2000/svg"></code></li>
+	</ul>
+	<p>
+		<a title="polyglot markup">Polyglot markup</a> declares the default namespaces on the root HTML element, <code>html</code>,
+		the root SVG element, <code>svg</code>, and the root MathML element <code>math</code>,
+		and on any HTML elements used as children of SVG or MathML elements.
+		<a title="polyglot markup">Polyglot markup</a> does not declare any other default or prefixed element namespace, because
+		[[!HTML5]] does not natively support the declaring of any other default or prefixed element namespace.
+	</p>
 	<!-- End section, "Element-Level Namespaces" -->
 	</section>
 	
@@ -235,21 +232,20 @@
 			<a title="polyglot markup">Polyglot markup</a> declares the XLink namespace on the HTML root element (<code>html</code>) or 
 			once on the foreign element where it is used (<code>svg</code> or <code>math</code>), to maintain XML-compatibility [[!XML10]].
 		</p>
-		<p>In <a>polyglot markup</a>, the xlink prefix uses the namespace declaration <code>xmlns:xlink="http://www.w3.org/1999/xlink"</code>  before using the xlink prefix for the following attributes:
-			<ul>
-				<li><code>xlink:actuate</code></li>
-				<li><code>xlink:arcrole</code></li>
-				<li><code>xlink:href</code></li>
-				<li><code>xlink:role</code></li>
-				<li><code>xlink:show</code></li>
-				<li><code>xlink:title</code></li>
-				<li><code>xlink:type</code></li>
-			</ul>
-		</p>
+		<p>In <a>polyglot markup</a>, the xlink prefix uses the namespace declaration <code>xmlns:xlink="http://www.w3.org/1999/xlink"</code>  before using the xlink prefix for the following attributes:</p>
+		<ul>
+			<li><code>xlink:actuate</code></li>
+			<li><code>xlink:arcrole</code></li>
+			<li><code>xlink:href</code></li>
+			<li><code>xlink:role</code></li>
+			<li><code>xlink:show</code></li>
+			<li><code>xlink:title</code></li>
+			<li><code>xlink:type</code></li>
+		</ul>
 		<p>
 			Note that there are other prefixed attributes that can be used beyond <code>xlink:href</code> (such as <code>xml:base</code>).
-			<a title="polyglot markup">Polyglot markup</a> does not declare these prefixes via xmlns. The prefixes are implicitly declared in XML and are automatically 
-			applied to the appropriate attributes in HTML.
+			<a title="polyglot markup">Polyglot markup</a> does not declare these prefixes via xmlns. The prefixes are implicitly declared
+            in XML and are automatically  applied to the appropriate attributes in HTML.
 		</p>
 		<p>
 			The prefixed attributes, such as <code>xml:lang=""</code>, are "namespaced" within XHTML, SVG and MathML. 
@@ -764,7 +760,7 @@
 <h2>Script and Style</h2>
 	<p>
 		<a title="polyglot markup">Polyglot markup</a> includes script and style commands by linking to external files rather than including them in-line. 
-		<a title="polyglot markup">Polyglot markup</a> does not link to an external stylesheet by using the xml-stylesheet processing instruction.
+		<a title="polyglot markup">Polyglot markup</a> does not link to an external stylesheet by using the XML-specific xml-stylesheet processing instruction.
 	    See also <a href="#PI-and-xml">Processing Instructions and the XML Declaration</a>.
 	</p>
 	<p>The following examples show how <a>polyglot markup</a> includes external script and style, respectively:</p>
@@ -772,8 +768,10 @@
 		<pre class="example highlight">&lt;link rel="stylesheet" href="external.css"/&gt;</pre>
 	<p>Although <code>document.write()</code> and <code>document.writeln()</code> are valid in an HTML document, neither function may be used in XHTML. 
 		Therefore, neither is used in <a>polyglot markup</a>.
-		Instead, use the <code>innerHTML</code> property for both HTML and XHTML. 
-		Note that the <code>innerHTML</code> property takes a string. 
+		Instead, use the <code>innerHTML</code> property for both HTML and XHTML.
+    </p>
+	<p class="note">
+        The <code>innerHTML</code> property takes a string.
 		XML parsers parse the string as XML in XHTML. 
 		HTML parsers parse the string as HTML in HTML. 
 		Because of the difference in parsing, if you send the parser content that does not follow the rules for <a>polyglot markup</a> 

Received on Monday, 20 May 2013 11:06:35 UTC