intertwingly

It’s just data

Atom Going Modeless?


Sjoerd and Tim put forward compelling arguments that the cost/benefit of the mode attribute isn't justified.

This allows for a simple heuristic: if the type is xml, the content is simply placed inline (xsd:any).

Otherwise, if the type is text, the content is a string (xsd:string) - this implying escaping of characters like "&" and "<", and effectively requiring double escaping of html.

Otherwise, the content is treated as binary (xsd:base64Binary).

Agree?  Disagree?  Leave your comments on the atom-syntax mailing list.