Eric Scheid wrote:
On 31/1/05 4:43 AM, "Julian Reschke" <[EMAIL PROTECTED]> wrote:
"The content SHOULD be XHTML text and markup that could validly appear directly within an xhtml:div element."
...so making it explicit in the on-the-wire format seems to be completely useless.
what's missing though is guidance that the "XHTML text and markup" needs to be in the xhtml namespace, and not just plonked in there by a crude template-style publisher.
that is, it needs to be clear from the spec that this is wrong:
<content type="XHTML">Here is a <b>bold statement</b></content>
...at least it's not what the producer probably intends.
Given the mass of content which is published via crude string concatenation template driven CMS products, this is something we need to address. As it is at the moment, a na�ve reading of the spec suggests that the above atom XML is valid because the <content> element *does* contain "XHTML text and markup that could validly appear directly within an xhtml:div element".
By the way, are we assuming that the reader is meant to assume that the namespace prefix "xhtml" has been bound to the xhtml namespace?
These are good points, so this should be clarified (independently of whether we require div or not).
Best regards, Julian
-- <green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
