On Jan 27, 2005, at 08:41, Anne van Kesteren wrote:

Antone Roundy wrote:
On Wednesday, January 26, 2005, at 02:18 PM, Tim Bray wrote:
<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>


The last one needs to be something like the following, right?
<title type='XHTML'><div xmlns="http://www.w3.org/1999/xhtml";>I do <b>not</b> like &lt;marquee></div></title>

Or, rather:
<title type='XHTML'>I do <b xmlns="http://www.w3.org/1999/xhtml";>not</b> like &lt;marquee></title>


I was wondering about this as well. When you have @type['XHTML'], does it need to be in a namespace, or not? (Sounds logical, but apparently people do different things.)

Why wouldn't it require the elements that purport to be XHTML elements to be in the XHTML namespace? I do not, however, think that it is useful to restrict type='XHTML' in the content element to have element descendants only from the XHTML namespace. Those who want to do math will mix MathML with XHTML anyway and have it render in a future non-bogotic feed reader Firefox extension (which I expect someone to write sooner or later).


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



Reply via email to