W3C home > Mailing lists > Public > www-svg@w3.org > July 2000

Re: icc-color syntax

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Tue, 11 Jul 2000 09:54:12 -0700
Message-id: <fc.0085846d0000aaeb0085846d0000a74a.aaef@savagesoftware.com>
To: jferraio@Adobe.COM
Cc: www-svg@w3.org
The problem is that the first syntax has a comma in its repetition while
the second does not.
According to the first syntax the following example is valid, but it is
invalid according to the second syntax:
	icc-color(example, 1, 3, 5)

It seems that the second syntax must be incorrect since it does not
contain a separator in its repetition.

Blaine

jferraio@Adobe.COM writes: 
>Blaine,
>It seems to me the two are equivalent. The "*" means zero-or-more, and the
>"+" means one-or-more. 
>
>The spec should use the same BNF in all places, however. I'll research
>this
>and make sure the same BNF appears in all places (or only appears in one
>place, with references in the other places.)
>
>Jon Ferraiolo
>SVG Editor
>Adobe Systems Incorporated
>
>
>At 02:41 PM 7/10/00 -0700, Blaine Brodie wrote:
>>What is the correct syntax for specifing a icc-color function? The
>>specification currently has it as both
>>"icc-color(<name>,<icccolorvalue>[,<icccolorvalue>]*)"
>>and "icc-color(<name>,<icccolorvalue>+)".
>
Received on Tuesday, 11 July 2000 12:54:41 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:19 GMT