<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HTML 5 or XHTML 2?</title>
	<atom:link href="http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/</link>
	<description>Web development and Internet trends</description>
	<lastBuildDate>Sat, 20 Mar 2010 00:53:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nikita Sumeiko</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-596404</link>
		<dc:creator>Nikita Sumeiko</dc:creator>
		<pubDate>Sun, 02 Aug 2009 08:45:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-596404</guid>
		<description>Here is the simplest way how to understand transit form xHTML 2 to HTML 5.
It will be easier, because it&#039;s a painted comic strip:
&lt;a href=&quot;http://www.manakor.org/xhtml/what-markup-language-to-use-now-xhtml-2-or-html-5&quot; rel=&quot;nofollow&quot;&gt;http://www.manakor.org/xhtml/what-markup-language-to-use-now-xhtml-2-or-html-5&lt;/a&gt;

But your attitude to this topic is clear for me.
Thanks.</description>
		<content:encoded><![CDATA[<p>Here is the simplest way how to understand transit form xHTML 2 to HTML 5.<br />
It will be easier, because it&#8217;s a painted comic strip:<br />
<a href="http://www.manakor.org/xhtml/what-markup-language-to-use-now-xhtml-2-or-html-5" rel="nofollow">http://www.manakor.org/xhtml/what-markup-language-to-use-now-xhtml-2-or-html-5</a></p>
<p>But your attitude to this topic is clear for me.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marc K</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-589893</link>
		<dc:creator>Marc K</dc:creator>
		<pubDate>Tue, 16 Jun 2009 00:36:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-589893</guid>
		<description>So I&#039;ve been learning a bit about the HTML5 &lt;strong&gt;canvas&lt;/strong&gt; element as supported in the latest milestones for Firefox, Chrome and Opera, and how to use JS with it to make a simple 2D painting canvas.

It certainly got my attention with how simple it is to use with JS &#8211; but I was disappointed to learn that, in Chrome at least, the width and height of the element must be set using &lt;em&gt;presentational&lt;/em&gt; tag attributes for it to work properly. Strangely enough, when I tried using CSS for the width and height of the &lt;strong&gt;canvas&lt;/strong&gt; element itself and/or a container &lt;strong&gt;div&lt;/strong&gt;, a border was applied correctly but the actual drawing routines were messed up. Somehow, it seems that to alter the co-ordinates passed to the JS drawing functions via the &lt;strong&gt;clientX/Y&lt;/strong&gt; or &lt;strong&gt;offsetX/Y&lt;/strong&gt; properties of the &lt;strong&gt;mousemove&lt;/strong&gt; event object, so the &#039;virtual ink&#039; is drawn at an offset to the actual location of the cursor.

This seems rather backwards if it is actually part of the specification, when for years we&#039;ve been told to abolish presentional markup wherever possible!

I thought that it could just be a bug in Chrome and/or WebKit&#039;s HTML5 rendering process, of course... But I&#039;ve just tried it in Opera and the same thing happens. I like SVG too but I don&#039;t know of a similarly easy, straightforward and &lt;strong&gt;built-in&lt;/strong&gt; way to alter an SVG image using a Javascript/ECMA API. At least, not one that&#039;s built into a XHTML spec in the same manner as &lt;strong&gt;canvas&lt;/strong&gt; is. I did find a flurry of nice third-party JS API toolkits for manipulating SVG markup, like this simple looking &lt;a href=&quot;http://keith-wood.name/svg.html&quot; rel=&quot;nofollow&quot;&gt;jQuery one&lt;/a&gt; &#8211; but as good as it may be, that&#039;s already quite far removed from a standards-based solution that doesn&#039;t involve any external libraries, which is what it looks like the &lt;strong&gt;canvas&lt;/strong&gt; proponents are aiming for. Then there&#039;s all the fuss over whether to use &lt;strong&gt;object&lt;/strong&gt;, &lt;strong&gt;embed&lt;/strong&gt;, both those elements together, or XHTML+SVG in the same document...

Finally, I love the simplicity of the new DTD, even if it doesn&#039;t specify the HTML version which may become problematic if later versions do introduce conflicts despite best efforts... It&#039;s such a relief to be able to just type in &lt;strong&gt;&lt;!DOCTYPE html&gt;&lt;/strong&gt; rather than having to copy and paste one of those long, ungainly relics of ancient SGML syntax. I mean, I only recently discovered that the entire purpose of the &#039;-&#039; character in the ludicrous &#039;-//DTD html blah...&#039; is supposed to indicate that the DTD came from an organisation &#039;that is not registered with the IETF&#039; &#8211; with a &#039;+&#039; meaning the opposite. But it&#039;s 2009 and I can&#039;t remember ever seeing such a doctype declaration with a &#039;+&#039; in it! I was also amazed that the W3C itself, trickling out a steady stream of misunderstood and badly followed doctype definitions for all those years, does not qualify as a &#039;registered&#039; entity in that sense... Made me laugh though. Can&#039;t we get rid of DTDs altogether, at least in XML subsets? To me, it seems that the XML prologue is all that&#039;s needed to inform an &#039;agent&#039; that the document is indeed XML, and the presence of a top-level &lt;strong&gt;&lt;html&gt;&lt;/strong&gt; or &lt;strong&gt;&lt;svg&gt;&lt;/strong&gt; tag (perhaps with a versioned namespace specifier instead of a static 1999 one) could then clarify things... That would change the inner workings of the beast quite substantially though, I suppose. But that&#039;s my point: It&#039;s too arcane!</description>
		<content:encoded><![CDATA[<p>So I&#8217;ve been learning a bit about the HTML5 <strong>canvas</strong> element as supported in the latest milestones for Firefox, Chrome and Opera, and how to use JS with it to make a simple 2D painting canvas.</p>
<p>It certainly got my attention with how simple it is to use with JS &ndash; but I was disappointed to learn that, in Chrome at least, the width and height of the element must be set using <em>presentational</em> tag attributes for it to work properly. Strangely enough, when I tried using CSS for the width and height of the <strong>canvas</strong> element itself and/or a container <strong>div</strong>, a border was applied correctly but the actual drawing routines were messed up. Somehow, it seems that to alter the co-ordinates passed to the JS drawing functions via the <strong>clientX/Y</strong> or <strong>offsetX/Y</strong> properties of the <strong>mousemove</strong> event object, so the &#8216;virtual ink&#8217; is drawn at an offset to the actual location of the cursor.</p>
<p>This seems rather backwards if it is actually part of the specification, when for years we&#8217;ve been told to abolish presentional markup wherever possible!</p>
<p>I thought that it could just be a bug in Chrome and/or WebKit&#8217;s HTML5 rendering process, of course&#8230; But I&#8217;ve just tried it in Opera and the same thing happens. I like SVG too but I don&#8217;t know of a similarly easy, straightforward and <strong>built-in</strong> way to alter an SVG image using a Javascript/ECMA API. At least, not one that&#8217;s built into a XHTML spec in the same manner as <strong>canvas</strong> is. I did find a flurry of nice third-party JS API toolkits for manipulating SVG markup, like this simple looking <a href="http://keith-wood.name/svg.html" rel="nofollow">jQuery one</a> &ndash; but as good as it may be, that&#8217;s already quite far removed from a standards-based solution that doesn&#8217;t involve any external libraries, which is what it looks like the <strong>canvas</strong> proponents are aiming for. Then there&#8217;s all the fuss over whether to use <strong>object</strong>, <strong>embed</strong>, both those elements together, or XHTML+SVG in the same document&#8230;</p>
<p>Finally, I love the simplicity of the new DTD, even if it doesn&#8217;t specify the HTML version which may become problematic if later versions do introduce conflicts despite best efforts&#8230; It&#8217;s such a relief to be able to just type in <strong>&lt;!DOCTYPE html&gt;</strong> rather than having to copy and paste one of those long, ungainly relics of ancient SGML syntax. I mean, I only recently discovered that the entire purpose of the &#8216;-&#8217; character in the ludicrous &#8216;-//DTD html blah&#8230;&#8217; is supposed to indicate that the DTD came from an organisation &#8216;that is not registered with the IETF&#8217; &ndash; with a &#8216;+&#8217; meaning the opposite. But it&#8217;s 2009 and I can&#8217;t remember ever seeing such a doctype declaration with a &#8216;+&#8217; in it! I was also amazed that the W3C itself, trickling out a steady stream of misunderstood and badly followed doctype definitions for all those years, does not qualify as a &#8216;registered&#8217; entity in that sense&#8230; Made me laugh though. Can&#8217;t we get rid of DTDs altogether, at least in XML subsets? To me, it seems that the XML prologue is all that&#8217;s needed to inform an &#8216;agent&#8217; that the document is indeed XML, and the presence of a top-level <strong>&lt;html&gt;</strong> or <strong>&lt;svg&gt;</strong> tag (perhaps with a versioned namespace specifier instead of a static 1999 one) could then clarify things&#8230; That would change the inner workings of the beast quite substantially though, I suppose. But that&#8217;s my point: It&#8217;s too arcane!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cultred</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-480352</link>
		<dc:creator>Cultred</dc:creator>
		<pubDate>Thu, 27 Nov 2008 18:28:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-480352</guid>
		<description>HTML 5 and XHTML should work hand-in-hand.

I mean that like they should be treated as completely separate coding languages. The added attributes and tags in HTML 5 should also be added to XHTML. Both should be well-formed, just that HTML 5 documents should be coded using the SGML format, while XHTML pages use the XML format.

That&#039;s pretty much it.</description>
		<content:encoded><![CDATA[<p>HTML 5 and XHTML should work hand-in-hand.</p>
<p>I mean that like they should be treated as completely separate coding languages. The added attributes and tags in HTML 5 should also be added to XHTML. Both should be well-formed, just that HTML 5 documents should be coded using the SGML format, while XHTML pages use the XML format.</p>
<p>That&#8217;s pretty much it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Huri</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-469436</link>
		<dc:creator>Huri</dc:creator>
		<pubDate>Mon, 03 Nov 2008 18:23:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-469436</guid>
		<description>In most ways, I agree with Dustin. XHTML 2.0 is the proper move forward. If there are some things from the HTML 5 spec that are worth while, bring them over to XHTML 2 (like the dialog tag).

However, that said, I actually think the best approach would be to use Modularization for everything. Rather than just remove current style forms, allow the use of an XHTML 5 Forms module, along with a core XHTML 2.0 module. Namespaces should be supported everywhere.

The whole &quot;keep XML off the web&quot; part is the biggest mistake I&#039;ve ever seen. We should be keeping TagSoup off the web, and focusing on moving entirely to an XML-based web.

With XML Namespaces and other such technologies, content authors should be able to pick which models they use. The two places where this is most important is having support for existing style Forms, and scripts. Allowing every tag to have an href and src attribute is a welcome change, blowing away the presentation-specific tags is a welcome change. I do like the HTML 5 forms, as XForms seem overly complex for simple pages. XForms and XML Events should be optional modules, with XHTML 5 Forms and Scripts support available as well.

So I guess what I&#039;m really recommending, is taking the good stuff from HTML 5, adding better Namespace handling, and releasing XHTML 2 as a fully modular markup language. Continuing to support Tag Soup style HTML is stupid, please let it die!</description>
		<content:encoded><![CDATA[<p>In most ways, I agree with Dustin. XHTML 2.0 is the proper move forward. If there are some things from the HTML 5 spec that are worth while, bring them over to XHTML 2 (like the dialog tag).</p>
<p>However, that said, I actually think the best approach would be to use Modularization for everything. Rather than just remove current style forms, allow the use of an XHTML 5 Forms module, along with a core XHTML 2.0 module. Namespaces should be supported everywhere.</p>
<p>The whole &#8220;keep XML off the web&#8221; part is the biggest mistake I&#8217;ve ever seen. We should be keeping TagSoup off the web, and focusing on moving entirely to an XML-based web.</p>
<p>With XML Namespaces and other such technologies, content authors should be able to pick which models they use. The two places where this is most important is having support for existing style Forms, and scripts. Allowing every tag to have an href and src attribute is a welcome change, blowing away the presentation-specific tags is a welcome change. I do like the HTML 5 forms, as XForms seem overly complex for simple pages. XForms and XML Events should be optional modules, with XHTML 5 Forms and Scripts support available as well.</p>
<p>So I guess what I&#8217;m really recommending, is taking the good stuff from HTML 5, adding better Namespace handling, and releasing XHTML 2 as a fully modular markup language. Continuing to support Tag Soup style HTML is stupid, please let it die!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin Boyd</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-288099</link>
		<dc:creator>Dustin Boyd</dc:creator>
		<pubDate>Fri, 30 May 2008 05:46:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-288099</guid>
		<description>I&#039;m not a fan of the way (X)HTML5 is being designed. If it is served as HTML, the document is HTML5, but if it is served as XML or XHTML, then the document is (X)HTML5. What I don&#039;t like is the fact that an (X)HTML5 parser will be required rather than a normal XML parser. It defeats the purpose of using XML, IMHO. This fact alone causes a fundamental problem - DOCTYPEs will be used for more than switching browsers into standards mode still, a problem that (X)HTML5 is supposed to be able to solve. How else would a browser (or any user agent, for that matter) distinguish between XHTML 1.0, (X)HTML5, HTML 4.01, etc. to figure out which markup parser to use?

XHTML 2.0 is rather nice. I&#039;ve been behind it 100% ever since I found out about it.

(X)HTML5, on the other hand, I&#039;m not much of a fan of... I really don&#039;t understand why the canvas, audio and video elements are needed, for example. I&#039;ve seen things like a Mario Kart clone that used JavaScript and the canvas element. Technologies like Flash or Silverlight, however, could have been used to achieve the same result with extra features. No, I didn&#039;t miss the point - proving it could be done without such proprietary technologies - but such a game would run considerably smoother using Flash. As for the audio and video elements, what is wrong with the object element?

I may be missing the point of (X)HTML5, but it doesn&#039;t seem nearly as useful as XHTML 2.0. In addition, (X)HTML5 introduces elements specifically for presentation (canvas, audio, video), something that was supposed to disappear thanks to XHTML, especially XHTML 1.1 and XHTML 2.0.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not a fan of the way (X)HTML5 is being designed. If it is served as HTML, the document is HTML5, but if it is served as XML or XHTML, then the document is (X)HTML5. What I don&#8217;t like is the fact that an (X)HTML5 parser will be required rather than a normal XML parser. It defeats the purpose of using XML, IMHO. This fact alone causes a fundamental problem &#8211; DOCTYPEs will be used for more than switching browsers into standards mode still, a problem that (X)HTML5 is supposed to be able to solve. How else would a browser (or any user agent, for that matter) distinguish between XHTML 1.0, (X)HTML5, HTML 4.01, etc. to figure out which markup parser to use?</p>
<p>XHTML 2.0 is rather nice. I&#8217;ve been behind it 100% ever since I found out about it.</p>
<p>(X)HTML5, on the other hand, I&#8217;m not much of a fan of&#8230; I really don&#8217;t understand why the canvas, audio and video elements are needed, for example. I&#8217;ve seen things like a Mario Kart clone that used JavaScript and the canvas element. Technologies like Flash or Silverlight, however, could have been used to achieve the same result with extra features. No, I didn&#8217;t miss the point &#8211; proving it could be done without such proprietary technologies &#8211; but such a game would run considerably smoother using Flash. As for the audio and video elements, what is wrong with the object element?</p>
<p>I may be missing the point of (X)HTML5, but it doesn&#8217;t seem nearly as useful as XHTML 2.0. In addition, (X)HTML5 introduces elements specifically for presentation (canvas, audio, video), something that was supposed to disappear thanks to XHTML, especially XHTML 1.1 and XHTML 2.0.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-276907</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 19 May 2008 03:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-276907</guid>
		<description>For those of you complaining about the ad industry, don&#039;t worry. iframes is being dropped in favor of object. Object can include any type of content, including Flash or TagSoupML in an XHTML2 document.</description>
		<content:encoded><![CDATA[<p>For those of you complaining about the ad industry, don&#8217;t worry. iframes is being dropped in favor of object. Object can include any type of content, including Flash or TagSoupML in an XHTML2 document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-276906</link>
		<dc:creator>Michael</dc:creator>
		<pubDate>Mon, 19 May 2008 03:51:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-276906</guid>
		<description>For those of you complaining about the ad industry, don&#039;t worry. s is being dropped in favor of . Object can include any type of content, including Flash or TagSoupML in an XHTML2 document.</description>
		<content:encoded><![CDATA[<p>For those of you complaining about the ad industry, don&#8217;t worry. s is being dropped in favor of . Object can include any type of content, including Flash or TagSoupML in an XHTML2 document.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thoughts on HTML 5 - Robert&#8217;s talk</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-67286</link>
		<dc:creator>Thoughts on HTML 5 - Robert&#8217;s talk</dc:creator>
		<pubDate>Thu, 07 Jun 2007 20:31:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-67286</guid>
		<description>[...] HTML 5 or XHTML 2?   Posted in Technology, Developing, HTML/XHTML &#124; Share your thoughts [...]</description>
		<content:encoded><![CDATA[<p>[...] HTML 5 or XHTML 2?   Posted in Technology, Developing, HTML/XHTML | Share your thoughts [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anita Hardick</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-55709</link>
		<dc:creator>Anita Hardick</dc:creator>
		<pubDate>Thu, 03 May 2007 08:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-55709</guid>
		<description>I have a question that I hope will be answered soon. I have an idea for the most incredible website and since I am still technichally challenged, I need to have feedback from those of you that have the experince and knowledge to coach me through the process of creating my delicious website.Of course the extreme adult content I have planned has been the reason I am seeking your input. Thank you</description>
		<content:encoded><![CDATA[<p>I have a question that I hope will be answered soon. I have an idea for the most incredible website and since I am still technichally challenged, I need to have feedback from those of you that have the experince and knowledge to coach me through the process of creating my delicious website.Of course the extreme adult content I have planned has been the reason I am seeking your input. Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jens Meiert</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-43428</link>
		<dc:creator>Jens Meiert</dc:creator>
		<pubDate>Mon, 19 Mar 2007 19:48:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-43428</guid>
		<description>German readers, there is an &lt;a href=&quot;http://meiert.com/de/publications/translations/xhtml.com/xhtml-5-vs-xhtml-2/&quot; rel=&quot;nofollow&quot;&gt;revised and improved German translation&lt;/a&gt; available now.

You&#039;re right, Robert, it&#039;s a nice article :)</description>
		<content:encoded><![CDATA[<p>German readers, there is an <a href="http://meiert.com/de/publications/translations/xhtml.com/xhtml-5-vs-xhtml-2/" rel="nofollow">revised and improved German translation</a> available now.</p>
<p>You&#8217;re right, Robert, it&#8217;s a nice article <img src='http://robertnyman.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39566</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Fri, 02 Mar 2007 08:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39566</guid>
		<description>Siegfried, Axel,

Thanks for your comments!</description>
		<content:encoded><![CDATA[<p>Siegfried, Axel,</p>
<p>Thanks for your comments!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Rauschmayer</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39498</link>
		<dc:creator>Axel Rauschmayer</dc:creator>
		<pubDate>Fri, 02 Mar 2007 00:21:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39498</guid>
		<description>As for microformats: I really like &lt;a href=&quot;http://en.wikipedia.org/wiki/RDFa&quot; rel=&quot;nofollow&quot;&gt;RDFa&lt;/a&gt; as a longer-term (and much more extensible) alternative.</description>
		<content:encoded><![CDATA[<p>As for microformats: I really like <a href="http://en.wikipedia.org/wiki/RDFa" rel="nofollow">RDFa</a> as a longer-term (and much more extensible) alternative.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Rauschmayer</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39493</link>
		<dc:creator>Axel Rauschmayer</dc:creator>
		<pubDate>Thu, 01 Mar 2007 23:58:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-39493</guid>
		<description>The HTML5 FAQ should recommend a route away from the current tag soup chaos. I was really worried that this was not a goal any more (considering the negative tone about XML). The following blog entry partly allayed my fears: &lt;a href=&quot;http://blog.whatwg.org/html-vs-xhtml&quot; rel=&quot;nofollow&quot;&gt;http://blog.whatwg.org/html-vs-xhtml&lt;/a&gt;

Still, the HTML5 FAQ should make it clear that having easily parsable (X)HTML is still a long-term goal.</description>
		<content:encoded><![CDATA[<p>The HTML5 FAQ should recommend a route away from the current tag soup chaos. I was really worried that this was not a goal any more (considering the negative tone about XML). The following blog entry partly allayed my fears: <a href="http://blog.whatwg.org/html-vs-xhtml" rel="nofollow">http://blog.whatwg.org/html-vs-xhtml</a></p>
<p>Still, the HTML5 FAQ should make it clear that having easily parsable (X)HTML is still a long-term goal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Siegfried</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-38767</link>
		<dc:creator>Siegfried</dc:creator>
		<pubDate>Mon, 26 Feb 2007 14:35:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-38767</guid>
		<description>Hi,
xhtml2 offers much more for the future. Mainly exactly because it is &lt;em&gt;not&lt;/em&gt; backwards compatible. But then if you see that the most used browser in the real world does not even understand xhtml1.0 you can be sure that html5 will be adopted sooner. And indeed it has some nice features. And so why not?

This is somewhat similar to microformats (aka lightweight semantic web) vs. rdf: One is at hand &lt;em&gt;now&lt;/em&gt; and usable &lt;em&gt;now&lt;/em&gt; but limited, the other is very very promising but it is future.

But then, one day this future will be the current day and today will be past and forgotten. So basically we need both: What we can have and use now, we should use now, but without letting the real future out of sight.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
xhtml2 offers much more for the future. Mainly exactly because it is <em>not</em> backwards compatible. But then if you see that the most used browser in the real world does not even understand xhtml1.0 you can be sure that html5 will be adopted sooner. And indeed it has some nice features. And so why not?</p>
<p>This is somewhat similar to microformats (aka lightweight semantic web) vs. rdf: One is at hand <em>now</em> and usable <em>now</em> but limited, the other is very very promising but it is future.</p>
<p>But then, one day this future will be the current day and today will be past and forgotten. So basically we need both: What we can have and use now, we should use now, but without letting the real future out of sight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Nyman</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34289</link>
		<dc:creator>Robert Nyman</dc:creator>
		<pubDate>Thu, 08 Feb 2007 07:31:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34289</guid>
		<description>Again, I really appreciate this discussion and the great input. Thank you!</description>
		<content:encoded><![CDATA[<p>Again, I really appreciate this discussion and the great input. Thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lachlan Hunt</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34198</link>
		<dc:creator>Lachlan Hunt</dc:creator>
		<pubDate>Thu, 08 Feb 2007 00:29:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34198</guid>
		<description>OK, it seems that many people fail to realise that there is no debate about HTML5 or XHTML2, the answer is HTML5.

In it&#039;s current state, XHTML 2.0 is virtually impossible to implement.  If they go through with their plan to re-use the XHTML 1.x namespace, it will be totally impossible to implement.

Nothing in XHTML 2.0 is well defined. in fact many things are very much undefined.

XHTML2 changes &lt;script&gt; to &lt;handler&gt;.  HTML5 just sticks with &lt;script&gt;

XHTML2 reuses &lt;input&gt; for XForms, without using the XForms namespace (so basicallly, xhtml1:input is being redefined in a backwards incompatible way).  HTML5, on the other hand, uses incremental improvement and retains backwards compatibility.

XHTML 2.0 adds &lt;h&gt; for headings, retains the numbered (&lt;h1&gt; to &lt;h6&gt; ) headings, yet fails to define how they interact with regards to the structure of the document.  HTML5, on the other hand, retains the numbered headings, yets adds the same functionality as XHTML2 in a much more well defined way.

XHTML2 adds href, and other attributes, to almost every element.  Browser vendors have reported that this would be extremely difficult to implement, and probably won&#039;t be.

XHTML2 fails to define any error handling, beyond the draconian handling of XML.  Error handling needs to deal with more than just syntax errors!  e.g. bogus attributes or incorrect values, unknown/unexpected elements, etc.

HTML5 already has many features implemented in major browsers.  XHTML2 is not, and will not be, implemented by any major browser.

Basically, HTML5 can do everything that XHTML2 can do, and much more.</description>
		<content:encoded><![CDATA[<p>OK, it seems that many people fail to realise that there is no debate about HTML5 or XHTML2, the answer is HTML5.</p>
<p>In it&#8217;s current state, XHTML 2.0 is virtually impossible to implement.  If they go through with their plan to re-use the XHTML 1.x namespace, it will be totally impossible to implement.</p>
<p>Nothing in XHTML 2.0 is well defined. in fact many things are very much undefined.</p>
<p>XHTML2 changes &lt;script&gt; to &lt;handler&gt;.  HTML5 just sticks with &lt;script&gt;</p>
<p>XHTML2 reuses &lt;input&gt; for XForms, without using the XForms namespace (so basicallly, xhtml1:input is being redefined in a backwards incompatible way).  HTML5, on the other hand, uses incremental improvement and retains backwards compatibility.</p>
<p>XHTML 2.0 adds &lt;h&gt; for headings, retains the numbered (&lt;h1&gt; to &lt;h6&gt; ) headings, yet fails to define how they interact with regards to the structure of the document.  HTML5, on the other hand, retains the numbered headings, yets adds the same functionality as XHTML2 in a much more well defined way.</p>
<p>XHTML2 adds href, and other attributes, to almost every element.  Browser vendors have reported that this would be extremely difficult to implement, and probably won&#8217;t be.</p>
<p>XHTML2 fails to define any error handling, beyond the draconian handling of XML.  Error handling needs to deal with more than just syntax errors!  e.g. bogus attributes or incorrect values, unknown/unexpected elements, etc.</p>
<p>HTML5 already has many features implemented in major browsers.  XHTML2 is not, and will not be, implemented by any major browser.</p>
<p>Basically, HTML5 can do everything that XHTML2 can do, and much more.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vlad Alexander</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34101</link>
		<dc:creator>Vlad Alexander</dc:creator>
		<pubDate>Wed, 07 Feb 2007 17:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34101</guid>
		<description>&lt;b&gt;How do you suggest we improve sectioning elements?&lt;/b&gt;
1) Predefined sectioning elements are not extensible. You have to modify the spec to add new sectioning elements in the future.

2) Predefined sectioning elements are too generic and waste the opportunity to add real domain-specific semantics.

3) Vendors of visual Web browsers have to write code to support new elements even if new elements do the same thing from a visual perspective.

If I understand correctly, sectioning elements carry 2 semantics:

1) This is a section.

2) This section is of type X.

The first is independent of the second but the second is dependant on the first. So you would need a two-part construct to model this relationship. I suggest instead a single element with an attribute. For example:

&lt;code&gt;&amp;ltsection&gt;&lt;/code&gt;

and

&lt;code&gt;&lt;section role=&quot;navigation&quot;&gt;&lt;/code&gt;

Or, I suggest using a &lt;code&gt;div&lt;/code&gt; element instead of &lt;code&gt;section&lt;/code&gt;.

&lt;b&gt;Why is &lt;code&gt;nl&lt;/code&gt; better than &lt;code&gt;nav&lt;/code&gt;?&lt;/b&gt;
The spec defines &lt;code&gt;nav&lt;/code&gt; as &quot;a section with navigation links&quot;. If you start adding content into this section like tables and paragraphs, this section bulks up and loses its value to future devices that could use this construct for presenting page navigation in a separate window. And the &lt;code&gt;nl&lt;/code&gt; element could be very useful for small screen devices.

&lt;b&gt;Faults in HTML4 and XHTML1 can be fixed.&lt;/b&gt;
1) X/HTML 5 does not fix them.

2) If it did fix them, then it would not be backwards compatible.

&lt;b&gt; The more code paths you have in your implementation [of Web browsers] the more development cost and time...&lt;/b&gt;
Building an XML rendering engine (like XHTML 2) is much simpler than enhancing HTML rendering engines. I speak from experience. It is so complex to build a good tag soup rendering engine that current Web browser vendors have created a barrier to entry by encouraging tag soup. What is the business incentive for current Web browser vendors to encourage valid markup?

&lt;b&gt;The numbers [in numbered heading] get normalized so it doesn&#039;t really matter which number you use...&lt;/b&gt;
If that won&#039;t confuse content authors then I don&#039;t know that will. It&#039;s kind of like Alice In Wonderland where things aren&#039;t really how they appear.

&lt;b&gt;&lt;code&gt;iframe&lt;/code&gt; is heavily used by the advertizing industry&lt;/b&gt;
So is this the real reason browser vendors and search engines are against XHTML 2? Seriously, we all benefit from advertisement programs on the Web. Programs like AdSense from Google financially supports small content providers, which is great. But currently these programs do not work when content is served as XML. I would hope that W3C addresses the needs of ad providers even if it means adjusting the XML spec. Let&#039;s find a non-&lt;code&gt;iframe&lt;/code&gt; solution to this very important issue.

&lt;b&gt;Being backwards compatible does not mean that you have to include all elements the previous version had.&lt;/b&gt;
This is objective and I bet one can use &quot;set theory&quot; to disprove this.

&lt;b&gt;It also doesn&#039;t mean you can&#039;t redefine semantics.&lt;/b&gt;
This is subjective so we can go back and forth on this for a while.

&lt;b&gt;HTML5 does comply with its charter, but perhaps we have to define backwards compatibility.&lt;/b&gt;
Great. I think you will find that X/HTML 5 is &quot;compatible&quot; with HTML 4 and XHTML 1 but not &quot;backwards compatible&quot;. But I hope you will also see that there is no need to be backwards compatible.

&lt;b&gt;&lt;code&gt;font&lt;/code&gt; was added because the state of art in WYSIWYG editors don&#039;t yet have a way to deal with semantics&lt;/b&gt;
We have been producing a &lt;a href=&quot;http://xstandard.com&quot; rel=&quot;nofollow&quot;&gt;WYSIWYG editor that does not have a font selector or a color picker&lt;/a&gt; for over 3 years. It&#039;s not rocket science. If we can do it, anyone can.

&lt;b&gt;it&#039;s better to allow them [WYSIWYG editors] to insert presentational markup when presentation was called for than to try to force the author to use semantics.&lt;/b&gt;
When you give a WYSIWYG user a font selector and a color picker, they will use them instead of semantic markup. Accessibility goes out the window

&lt;b&gt;WYSIWYG editors are of course free to deal with semantics and ignore font&lt;/b&gt;
Guess what, it&#039;s easier to sell candy than carrot sticks.

&lt;b&gt;WYSIWYG isn&#039;t going away any time soon so ignoring them doesn&#039;t lead to better results.&lt;/b&gt;
But that is what the spec does - it ignores WYSIWYG editors by letting them do what they want. I see great parallels between the environmental movement and Web standards. WYSIWYG editors are like the polluters of the Web and spec writers are like regulators. In this case the regulators are looking the other way.

&lt;b&gt;Class names are not CSS class names. They have nothing to do with CSS.&lt;/b&gt;
Not if you use the &lt;code&gt;class&lt;/code&gt; attribute. The spec &quot;overloads&quot; the meaning of &lt;code&gt;class&lt;/code&gt;. And also creates opportunities for conflict with existing documents that use class names that will only be predefined in the future.

&lt;b&gt;If you want to use XML then use XHTML5&lt;/b&gt;
Here is the problem. The XHTML 5 spec is saying don&#039;t use XHTML 5 when they say &quot;generally speaking, authors are discouraged from trying to use XML on the Web&quot;. Look, if the authors of the spec feel strongly about this, then they should simply dump XHTML 5. Let&#039;s either treat XML as an equal to HTML or dump it!</description>
		<content:encoded><![CDATA[<p><b>How do you suggest we improve sectioning elements?</b><br />
1) Predefined sectioning elements are not extensible. You have to modify the spec to add new sectioning elements in the future.</p>
<p>2) Predefined sectioning elements are too generic and waste the opportunity to add real domain-specific semantics.</p>
<p>3) Vendors of visual Web browsers have to write code to support new elements even if new elements do the same thing from a visual perspective.</p>
<p>If I understand correctly, sectioning elements carry 2 semantics:</p>
<p>1) This is a section.</p>
<p>2) This section is of type X.</p>
<p>The first is independent of the second but the second is dependant on the first. So you would need a two-part construct to model this relationship. I suggest instead a single element with an attribute. For example:</p>
<p><code>&amp;ltsection&gt;</code></p>
<p>and</p>
<p><code>&lt;section role="navigation"&gt;</code></p>
<p>Or, I suggest using a <code>div</code> element instead of <code>section</code>.</p>
<p><b>Why is <code>nl</code> better than <code>nav</code>?</b><br />
The spec defines <code>nav</code> as &#8220;a section with navigation links&#8221;. If you start adding content into this section like tables and paragraphs, this section bulks up and loses its value to future devices that could use this construct for presenting page navigation in a separate window. And the <code>nl</code> element could be very useful for small screen devices.</p>
<p><b>Faults in HTML4 and XHTML1 can be fixed.</b><br />
1) X/HTML 5 does not fix them.</p>
<p>2) If it did fix them, then it would not be backwards compatible.</p>
<p><b> The more code paths you have in your implementation [of Web browsers] the more development cost and time&#8230;</b><br />
Building an XML rendering engine (like XHTML 2) is much simpler than enhancing HTML rendering engines. I speak from experience. It is so complex to build a good tag soup rendering engine that current Web browser vendors have created a barrier to entry by encouraging tag soup. What is the business incentive for current Web browser vendors to encourage valid markup?</p>
<p><b>The numbers [in numbered heading] get normalized so it doesn&#8217;t really matter which number you use&#8230;</b><br />
If that won&#8217;t confuse content authors then I don&#8217;t know that will. It&#8217;s kind of like Alice In Wonderland where things aren&#8217;t really how they appear.</p>
<p><b><code>iframe</code> is heavily used by the advertizing industry</b><br />
So is this the real reason browser vendors and search engines are against XHTML 2? Seriously, we all benefit from advertisement programs on the Web. Programs like AdSense from Google financially supports small content providers, which is great. But currently these programs do not work when content is served as XML. I would hope that W3C addresses the needs of ad providers even if it means adjusting the XML spec. Let&#8217;s find a non-<code>iframe</code> solution to this very important issue.</p>
<p><b>Being backwards compatible does not mean that you have to include all elements the previous version had.</b><br />
This is objective and I bet one can use &#8220;set theory&#8221; to disprove this.</p>
<p><b>It also doesn&#8217;t mean you can&#8217;t redefine semantics.</b><br />
This is subjective so we can go back and forth on this for a while.</p>
<p><b>HTML5 does comply with its charter, but perhaps we have to define backwards compatibility.</b><br />
Great. I think you will find that X/HTML 5 is &#8220;compatible&#8221; with HTML 4 and XHTML 1 but not &#8220;backwards compatible&#8221;. But I hope you will also see that there is no need to be backwards compatible.</p>
<p><b><code>font</code> was added because the state of art in WYSIWYG editors don&#8217;t yet have a way to deal with semantics</b><br />
We have been producing a <a href="http://xstandard.com" rel="nofollow">WYSIWYG editor that does not have a font selector or a color picker</a> for over 3 years. It&#8217;s not rocket science. If we can do it, anyone can.</p>
<p><b>it&#8217;s better to allow them [WYSIWYG editors] to insert presentational markup when presentation was called for than to try to force the author to use semantics.</b><br />
When you give a WYSIWYG user a font selector and a color picker, they will use them instead of semantic markup. Accessibility goes out the window</p>
<p><b>WYSIWYG editors are of course free to deal with semantics and ignore font</b><br />
Guess what, it&#8217;s easier to sell candy than carrot sticks.</p>
<p><b>WYSIWYG isn&#8217;t going away any time soon so ignoring them doesn&#8217;t lead to better results.</b><br />
But that is what the spec does &#8211; it ignores WYSIWYG editors by letting them do what they want. I see great parallels between the environmental movement and Web standards. WYSIWYG editors are like the polluters of the Web and spec writers are like regulators. In this case the regulators are looking the other way.</p>
<p><b>Class names are not CSS class names. They have nothing to do with CSS.</b><br />
Not if you use the <code>class</code> attribute. The spec &#8220;overloads&#8221; the meaning of <code>class</code>. And also creates opportunities for conflict with existing documents that use class names that will only be predefined in the future.</p>
<p><b>If you want to use XML then use XHTML5</b><br />
Here is the problem. The XHTML 5 spec is saying don&#8217;t use XHTML 5 when they say &#8220;generally speaking, authors are discouraged from trying to use XML on the Web&#8221;. Look, if the authors of the spec feel strongly about this, then they should simply dump XHTML 5. Let&#8217;s either treat XML as an equal to HTML or dump it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zcorpan</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34095</link>
		<dc:creator>zcorpan</dc:creator>
		<pubDate>Wed, 07 Feb 2007 17:38:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34095</guid>
		<description>Harmen, HTML5 does drop &lt;acronym&gt;. XHTML2 does have cool forms (XForms).

The main difference is not the feature set, but the compatibility with existing content on the web, current authoring practice and existing implementations.

With HTML5, you don&#039;t have to change the way you work even when you want to start using the new stuff (i.e. when they&#039;re implemented in browsers). You just start to use the new stuff and it will work.

HTH,</description>
		<content:encoded><![CDATA[<p>Harmen, HTML5 does drop &lt;acronym&gt;. XHTML2 does have cool forms (XForms).</p>
<p>The main difference is not the feature set, but the compatibility with existing content on the web, current authoring practice and existing implementations.</p>
<p>With HTML5, you don&#8217;t have to change the way you work even when you want to start using the new stuff (i.e. when they&#8217;re implemented in browsers). You just start to use the new stuff and it will work.</p>
<p>HTH,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl Camera</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34092</link>
		<dc:creator>Carl Camera</dc:creator>
		<pubDate>Wed, 07 Feb 2007 17:13:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34092</guid>
		<description>@Tommy,  Thank you -- message is well received.  I learned something today and I appreciate the explanation.  If you&#039;re coming to SxSW this year, I&#039;ll gladly buy you a beverage of your choosing..   Robert -- sorry for sidetracking the original post topic.</description>
		<content:encoded><![CDATA[<p>@Tommy,  Thank you &#8212; message is well received.  I learned something today and I appreciate the explanation.  If you&#8217;re coming to SxSW this year, I&#8217;ll gladly buy you a beverage of your choosing..   Robert &#8212; sorry for sidetracking the original post topic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harmen Janssen</title>
		<link>http://robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34022</link>
		<dc:creator>Harmen Janssen</dc:creator>
		<pubDate>Wed, 07 Feb 2007 10:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.robertnyman.com/2007/02/05/html-5-or-xhtml-2/#comment-34022</guid>
		<description>Wow, both XHTML 2 and HTML 5 have some great new additions! &lt;code&gt;h&lt;/code&gt;, &lt;code&gt;role&lt;/code&gt; and the disappearance of &lt;code&gt;acronym&lt;/code&gt; sound great. 
The new and improved forms in HTML 5 sound great too.

What I don&#039;t understand is; why are these new things specific to either XHTML 2 or HTML 5? Why can&#039;t HTML 5 drop the &lt;code&gt;acronym&lt;/code&gt; element too? Why can&#039;t XHTML 2 have cool forms?

All in all I&#039;m a bit skeptical and don&#039;t expect to have to change the way I work anytime soon, &#039;cause it probably is gonna take ages for browsers (and especially IE) to implement the good stuff.</description>
		<content:encoded><![CDATA[<p>Wow, both XHTML 2 and HTML 5 have some great new additions! <code>h</code>, <code>role</code> and the disappearance of <code>acronym</code> sound great.<br />
The new and improved forms in HTML 5 sound great too.</p>
<p>What I don&#8217;t understand is; why are these new things specific to either XHTML 2 or HTML 5? Why can&#8217;t HTML 5 drop the <code>acronym</code> element too? Why can&#8217;t XHTML 2 have cool forms?</p>
<p>All in all I&#8217;m a bit skeptical and don&#8217;t expect to have to change the way I work anytime soon, &#8217;cause it probably is gonna take ages for browsers (and especially IE) to implement the good stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
