Rob Sayre wrote:
On 3/1/09 1:45 PM, Dan Brickley wrote:

"Custom data attributes are intended to store custom data private to the page or application, for which there are no more appropriate attributes or elements.

These attributes are not intended for use by software that is independent of the site that uses the attributes."

Unless the site that uses the attributes is the entire Web, I can't see how this bit of HTML5 addresses such a scenario...

Do you mean it won't work technically, or that it would be using the attributes in a way that's unintended? RDFa already uses XML Namespaces

Indeed. The HTML5 data-* attributes have been defined in a way to explicitly disallow distributed extensibility.

and HTML in ways that those specifications don't cover. What's different about my example?

You are right about that -- but if following the specs isn't necessary, I'd recommend instead just to ignore validity and define new attributes instead.

BR, Julian


Reply via email to