[whatwg] Allowed characters in attribute names

2007/6/13, Simon Pieters:
> On Wed, 13 Jun 2007 11:15:53 +0200, Henri Sivonen wrote:
>
> >
> >> What if you want to pass a paramater to a plugin with non-ASCII
> >> characters using <embed>?
> >
> > People who want that should readjust their wishes, in my opinion.
>
> I agree with what you're saying, but I'm not sure if it makes sense to put
> this restriction on the HTML level. After all, the following is not
> non-conforming:
>
>     <object data="foo">
>      <param name="sm?rg?sbord" value="">
>     </object>
>
> Should that be made non-conforming too, for the same reasons?

I don't think so.

> What if there is plugin content that uses non-ASCII characters as
> parameters (and you didn't author it), should it be disallowed to author
> HTML content aimed at that plugin content?

You just won't be able to use it with <embed> and be forced to use
<object>. Given that <embed> is deprecated, that's not a big deal.

-- 
Thomas Broyer

Received on Wednesday, 13 June 2007 03:31:13 UTC