Anne van Kesteren wrote:
James M Snell wrote:

Nah, I don't buy it. XHTML is just a special case of an XML content and if we were embedding some XML data (say an atom:feed) it wouldn't make any sense (under the assumption that the <content /> element is top level container) for us to do:

<content type="application/atom+xml">
  <head>
    ...
  </head>
  <entry>
    ...
  </entry>
</content>


I do not follow this example.


The point is that <content /> should not be viewed as the root element for contained XML. The XML content should be able to stand on it's own, indepedently of the content or text construct element as well-formed XML.



In my opinion, the XML contained in the content or text element should be capable of standing alone outside of the content element as a well-formed document and XHTML is just a special case of XML content.


So you want a DIV as wrapper element for TITLE and similar elements as well?



For Text construct and Content, if XHTML is used, there should be a DIV. If someone wants to use XHTML for title, then yes, they should use a DIV. Otherwise, they can use plain text.




- James M Snell



Reply via email to