- From: Eliot Graff via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 13 Mar 2012 23:31:38 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/html-xhtml-author-guide
In directory hutz:/tmp/cvs-serv9080
Modified Files:
html-xhtml-authoring-guide-ED-COPY.htm
html-xhtml-authoring-guide.html
Log Message:
Updated with fixes for bugs 12792 and 16164
Index: html-xhtml-authoring-guide.html
===================================================================
RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide.html,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -d -r1.80 -r1.81
--- html-xhtml-authoring-guide.html 18 Aug 2011 23:13:50 -0000 1.80
+++ html-xhtml-authoring-guide.html 13 Mar 2012 23:31:36 -0000 1.81
@@ -14,7 +14,7 @@
<a href="http://www.w3.org/"><img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"/></a>
</p>
<h1 class="title" id="title">Polyglot Markup: HTML-Compatible XHTML Documents</h1>
- <h2 id="w3c-editor-s-draft-18-august-2011">W3C Editor's Draft 18 August 2011</h2>
+ <h2 id="w3c-editor-s-draft-13-march-2013">W3C Editor's Draft 13 March 2013</h2>
<dl>
<dt>This version:</dt>
<dd><a href="http://dev.w3.org/html5/html-xhtml-author-guide/">http://dev.w3.org/html5/html-xhtml-author-guide/</a></dd>
@@ -158,8 +158,7 @@
</ul>
</li>
<li class="tocline"><a class="tocxref" href="#comments"><span class="secno">10. </span>Comments in Polyglot Markup</a></li>
- <li class="tocline"><a class="tocxref" href="#foreign-content"><span class="secno">11. </span>Exceptions from the Foreign Content Parsing Rules</a></li>
- <li class="tocline"><a class="tocxref" href="#example-document"><span class="secno">12. </span>Example Document</a></li>
+ <li class="tocline"><a class="tocxref" href="#example-document"><span class="secno">11. </span>Example Document</a></li>
<li class="tocline"><a class="tocxref" href="#acknowledgements"><span class="secno">A. </span>Acknowledgements</a></li>
<li class="tocline"><a class="tocxref" href="#references"><span class="secno">B. </span>References</a>
<ul class="toc">
@@ -228,8 +227,9 @@
without simultaneously having to maintain dual copies of the content: one in HTML and a second in XHTML.
In addition, a single <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> output requires
less infrastructure to produce than to produce both HTML and XHTML output for the same content.
- <a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a> is also be beneficial when lightweight processes—such as
- quick testing or even hand-authoring—are applied to content intended to be published both as HTML and XHTML,
+ <a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a>
+ is also be beneficial when lightweight processes—such as quick testing or even hand-authoring—are applied to content
+ intended to be published both as HTML and XHTML,
especially if that content is not sent through a tool chain.
</p>
<!--End section: Introduction-->
@@ -276,7 +276,7 @@
the encoding default from XML makes XML parsers treat content as UTF-8.
</p>
<p>
- The <a href="http://www.w3.org/International/questions/qa-html-encoding-declarations">W3C Internationalization (i18n) Group recommends</a>
+ The <a href="http://www.w3.org/International/questions/qa-html-encoding-declarations"><acronym title="World Wide Web Consortium">W3C</acronym> Internationalization (i18n) Group recommends</a>
to always include
a visible encoding declaration in a document, because it helps
developers, testers, or translation production managers to check the
@@ -899,21 +899,19 @@
</div>
-<div id="foreign-content" class="section">
- <!--OddPage--><h2><span class="secno">11. </span>Exceptions from the Foreign Content Parsing Rules</h2>
- <p>
- <!-- TODO: Need to call out exceptions from the foreign content parsing rules (e.g. <foreignContent> -->
- </p>
-
-<!--End section: Exceptions from the Foreign Content Parsing Rules-->
-</div>
<div id="example-document" class="section">
- <!--OddPage--><h2><span class="secno">12. </span>Example Document</h2>
+ <!--OddPage--><h2><span class="secno">11. </span>Example Document</h2>
<p>
The following example code acts as <a class="internalDFN" href="#dfn-polyglot-markup">polyglot markup</a> and validates as either XHTML or as HTML. You can view the page live
at <a href="http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html">http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html</a>.
</p>
+ <p class="note">
+ The example document is served as <code>'text/html'</code>.
+ Some legacy user agents do not support SVG in when served up as <code>'text/html'</code> as it is in this example.
+ The example page could also be served as <code>'application/xhtml+xml'</code> instead, with the file extension .html,
+ maintaining adherence to Polyglot markup and enabling the rendering of the SVG.
+ </p>
<pre class="example"><!DOCTYPE html>
@@ -983,7 +981,7 @@
<a class="internalDFN" href="#dfn-polyglot-markup" title="polyglot markup">Polyglot markup</a> treats certain elements as self-closing,
void elements, such as the following <img> element.
</p>
- <img height="48" width="72" alt="W3C" src="http://www.w3.org/Icons/w3c_home"/>
+ <img height="48" width="72" alt="<acronym title="World Wide Web Consortium">W3C</acronym>" src="http://www.w3.org/Icons/w3c_home"/>
<p>
For more information, see <a href="#empty-elements">Section 6.4 Void Elements</a>.
</p>
@@ -1075,7 +1073,7 @@
<dl class="bibliography">
<dt id="bib-CHARMOD">[CHARMOD]</dt>
- <dd>Martin J. Dürst; et al. <a href="http://www.w3.org/TR/2005/REC-charmod-20050215"><cite>Character Model for the World Wide Web 1.0: Fundamentals.</cite></a>
+ <dd>Martin J. Dürst; et al. <a href="http://www.w3.org/TR/2005/REC-charmod-20050215"><cite>Character Model for the World Wide Web 1.0: Fundamentals.</cite></a>
15 February 2005. W3C Recommendation. URL: <a href="http://www.w3.org/TR/2005/REC-charmod-20050215">http://www.w3.org/TR/2005/REC-charmod-20050215</a>
</dd>
<dt id="bib-HTML5">[HTML5]</dt>
Index: html-xhtml-authoring-guide-ED-COPY.htm
===================================================================
RCS file: /sources/public/html5/html-xhtml-author-guide/html-xhtml-authoring-guide-ED-COPY.htm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- html-xhtml-authoring-guide-ED-COPY.htm 8 Apr 2011 21:30:18 -0000 1.2
+++ html-xhtml-authoring-guide-ED-COPY.htm 13 Mar 2012 23:31:36 -0000 1.3
@@ -24,7 +24,7 @@
// subtitle : "an excellent document",
// if you wish the publication date to be other than today, set this
- publishDate: "2011-04-08",
+ publishDate: "2012-03-13",
// if the specification's copyright date is a range of years, specify
// the start date here:
@@ -822,14 +822,6 @@
</section>
-<section id="foreign-content" class="section">
- <h2>Exceptions from the Foreign Content Parsing Rules</h2>
- <p>
- <!-- TODO: Need to call out exceptions from the foreign content parsing rules (e.g. <foreignContent> -->
- </p>
-
-<!--End section: Exceptions from the Foreign Content Parsing Rules-->
-</section>
<section id="example-document" class="section">
<h2>Example Document</h2>
@@ -837,6 +829,12 @@
The following example code acts as <a>polyglot markup</a> and validates as either XHTML or as HTML. You can view the page live
at <a href="http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html">http://dev.w3.org/html5/html-xhtml-author-guide/SamplePage.html</a>.
</p>
+ <p class="note">
+ The example document is served as <code>'text/html'</code>.
+ Some legacy user agents do not support SVG in when served up as <code>'text/html'</code> as it is in this example.
+ The example page could also be served as <code>'application/xhtml+xml'</code> instead, with the file extension .html,
+ maintaining adherence to Polyglot markup and enabling the rendering of the SVG.
+ </p>
<pre class="example">
<!DOCTYPE html>
Received on Tuesday, 13 March 2012 23:31:40 UTC