[whatwg] namespaces in html5

On Mon, Jul 18, 2011 at 11:23 AM, David Karger <karger at mit.edu> wrote:
> The exhibit attributes are not associated with any server, and are not
> associated with any particular data items being delivered by any server.
> Rather, they are part of? "generic software not associated with" the server
> (see quote above)? and handle _presentation_ of the content on the page.
>
> So, while it might be technically valid to use data- prefixes, it doesn't
> seem to fit the intention.

As far as I can tell, the exhibit attributes are designed solely to be
read by the exhibit JS library which creates special views of the
data.  The site embeds that library, and so it's part of the site.

The restrictions there are meant to restrict things like, for example,
embedding Microformats data with data-* attributes, with the intention
that they'll be read by spiders and other things outside of the page
author's control.

~TJ

Received on Monday, 18 July 2011 12:29:07 UTC