Robert Sayre wrote:
On 5/18/05, Graham <[EMAIL PROTECTED]> wrote:
On 18 May 2005, at 9:36 pm, Robert Sayre wrote:
atom:entry elements are advised to contain ... a non-empty atom:summary element when the entry contains no atom:content element
I'd like us to advise including an atom:summary when atom:content is binary (or for that matter, any non-text/html/xhtml type)
OK. We can do that by accounting for atom:content elements with media types in @type.
----- Some applications may choose to require a minimum amount of inline text or (X)HTML data to function reliably and predictably. For that reason, atom:entry elements are advised to contain a non-empty atom:title element, a non-empty atom:content element when that element is present, and a non-empty atom:summary element when the entry contains no atom:content element or the atom:content element's type is a MIME media type.
Isn't that redundant? From PaceOptionalSummary:
atom:entry elements MUST contain an atom:summary element in any of the following cases: * the atom:entry contains an atom:content that has a "src" attribute (and is thus empty). * the atom:entry contains content that is encoded in Base64; i.e. the "type" attribute of atom:content is a MIME media type [MIMEREG] and does not begin with "text/" nor end with "+xml".
- Sam Ruby