Re: icc color profile valid names

On Mon, 22 Jun 2009 10:03:04 +0200, Cameron McCormack <cam@mcc.id.au> wrote:
> Felipe Sanches:
>> Spec says:
>> icc-color(<name>[,<icccolorvalue>]*)
>>
>> what is the validation rule for <name> ?
>
> Recently a grammar has been added to the SVG Color module:
>
>   http://dev.w3.org/SVG/modules/color/master/SVGColor.html#syntax
>
> So the <name> part is:
>
>   name ::= [^,()#x20#x9#xD#xA]
>
> That grammar (at least the non-device colour parts of it) will be ported
> back to SVG 1.1 Second Edition, which is set to be published some time
> within the next few months.

Wouldn't it be better for it to match IDENT or some such from CSS so it can later be safely ported to CSS without complicated conversion algorithms?


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 22 June 2009 08:25:16 UTC