Le 2007-01-03 à 20:26, Ian Hickson a écrit :

Hmm. I guess we could say it is block-or-structured-inline-but-not- both,
like most of the other elements.

This would make things easier with the Atom spec which says this about HTML content:

   Example atom:title with HTML content:

   ...
   <title type="html">
     Less: &lt;em> &amp;lt; &lt;/em>
   </title>
   ...

   If the value of "type" is "html", the content of the Text construct
   MUST NOT contain child elements and SHOULD be suitable for handling
   as HTML [HTML]. HTML markup within SHOULD be such that it could
   validly appear directly within an HTML <DIV> element, after
   unescaping.

and for XHTML content:

   Example atom:title with XHTML content:

   ...
   <title type="xhtml" xmlns:xhtml="http://www.w3.org/1999/xhtml";>
     <xhtml:div>
       Less: <xhtml:em> &lt; </xhtml:em>
     </xhtml:div>
   </title>
   ...

   If the value of "type" is "xhtml", the content of the Text construct
MUST be a single XHTML div element [XHTML] and SHOULD be suitable for
   handling as XHTML.


Michel Fortin
[EMAIL PROTECTED]
http://www.michelf.com/


Reply via email to