Re: Getting beyond the ping pong match (was RE: Cleaning House)

Hi Benjamin,

> The draft I refer to above actually uses the class attribute like this:
>
> <div class="axs checkbox">
>
> Where axs is acting as a namespace (in the generic, non-XML sense).
>
> For backwards compatibility, a script converts that into a role in the
> XHTML2 namespace. But there are major limitation to this technique:
>
> http://www.w3.org/WAI/PF/adaptable/HTML4/embedding-20061212.html#limitations
>
> The most cogent one is: "Each HTML element can only be associated with a
> single role." I haven't yet worked out why that limitation exists, however.

I looked at this a while ago, and could see no reason why they weren't
using @role in their script. I can only think it was because they
wanted the HTML to validate, which is fair enough, but now that Shane
McCarron has created an HTML DTD for this that looks set to work with
the W3C validator, I don't see any problem now.

Regards,

Mark

-- 
  Mark Birbeck, formsPlayer

  mark.birbeck@x-port.net | +44 (0) 20 7689 9232
  http://www.formsPlayer.com | http://internet-apps.blogspot.com

  standards. innovation.

Received on Monday, 7 May 2007 16:23:05 UTC