On Jan 26, 2005, at 23:18, Tim Bray wrote:

On Jan 26, 2005, at 12:44 PM, Henri Sivonen wrote:
What's the difference between:
<atom:title type='TEXT'>I do not like <![CDATA[<]]>marquee&gt;</atom:title>
and
<atom:title type='XHTML'>I do not like <![CDATA[<]]>marquee&gt;</atom:title>
?


Shouldn't both render as "I do not like <marquee>"?

Yeah, but if you wanted to have 'not' in bold:

<title type='TEXT'>I do not like &lt;marquee></title> (can't do it)
<title type='HTML'>I do &lt;b>not&lt;/b> like &amp;lt;marquee></title>
<title type='XHTML'>I do <b>not</b> like &lt;marquee></title>

But if you can always substitute type='TEXT' with type='XHTML' but not the other way round, what's the point of having type='TEXT' in the spec?


--
Henri Sivonen
[EMAIL PROTECTED]
http://iki.fi/hsivonen/



Reply via email to