On 20 Apr 2005, at 9:29 am, Henri Sivonen wrote:
On Apr 20, 2005, at 05:21, Graham wrote:
iii) Require that xhtml and *xml content elements have only a single child node. That is, all xml must be wrapped in an enclosing element (eg <content>text <b>bold</b> more text</content> would be invalid).
-1. The Atom content element is the wrapper.
If your rendering mechanism requires a single root but not atom:content, shouldn't it be your responsibility to add it?
You misread my intent. Requiring a single root (as the XML spec itself does) means there's always a hook available to put the namespace declaration, negating the need for ever adding an additional wrapper.
Graham Parks
