[whatwg] namespaces in html5

Tab Atkins Jr. jackalmage at gmail.com
Mon Jul 18 12:29:07 PDT 2011


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



More information about the whatwg mailing list