stroke-dasharray delimiters

The description of the stroke-dasharray property (SVG 1.1, Section 11.4)
says (in part):

><dasharray> contains a list of comma-separated (with optional white
>space) <length>s that specify the lengths of alternating dashes and
>gaps.

And then a little later:

>A list of comma-separated <length>'s (with optional white space), each
>of which can have a unit identifier, including specification of a
>percentage.

I can't see why commas are required here--a parser should be able to
handle a whitespace-delimited list of <length>s without ambiguity, just
as with the tspan element's dx and dy properties, for example.

Steve Schafer
Fenestra Technologies Corp
http://www.fenestra.com/

Received on Wednesday, 11 June 2003 10:45:52 UTC