> Atom processors need to know how to construct a full XHTML 1.x  
> document from the Atom entry if they co-operate with an XHTML 1.x  
> processing module that wants to see full documents.

It seems that... only extremely few of atom processors can do so at the 
moment... (Actually I am not sure if there is any)

Microsoft Office Outlook 2007, Mozilla Thunderbird 1.5.0.8 and Opera 9.1.8653 
all fails to generate a full XHTML 1.x document.

Office shows a HTML document with <div xmlns="http://www.w3.org/1999/xhtml";><p 
xmlns="http://www.w3.org/1999/xhtml";><img ... /></p></div>.

Thunderbird is better... at least... does not have any xmlns=""... but XHTML's 
elements... such as <br />, <img ... />... still exists...

Opera has <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" 
"http://www.w3.org/TR/html4/strict.dtd";> in its generated source... with 
XHTML's elements like Thunderbird...

It seems that... even type="xhtml"... is lacking support from processors.

Franklin Tse

-----Original Message-----
From: Henri Sivonen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 21, 2006 05:28
To: Tse Shing Chi ((Franklin/Whale))
Cc: atom-syntax@imc.org
Subject: Re: Forward Compatibility

On Nov 20, 2006, at 17:47, Tse Shing Chi ((Franklin/Whale)) wrote:

>> I understand your not wanting to put a complete XHTML 2.0 document
>> inside atom:content or atom:summary, but since DIV isn't supposed to
>> be the root element of an XHTML 2.0 document, omitting the rest of
>> the document violates at least the "spirit" of the Atom spec...though
>> we didn't use normative language where it says "normally" to actually
>> prohibit it.
>
> But div is not the root element of XHTML 1.x as well.

It isn't, but XHTML 1.x as type='xhtml' is a special case in Atom, so  
Atom processors need to know how to construct a full XHTML 1.x  
document from the Atom entry if they co-operate with an XHTML 1.x  
processing module that wants to see full documents.

Using an XHTML 1.x fragment with type='application/xhtml+xml' would  
not be proper.

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




Reply via email to