Re: <polygon> element attributes...

Date: Mon, 14 Jun 1999 02:21:14 +0200
> From: Jeremy Lea <reg@shale.csir.co.za>
> ...
>
> Would it be better to use <polyline verts="x,y;x,y;x,y;"/>?  It just
> seems less error prone to me.  You still have to walk the verts string
> twice, to work out how many sets there are, allocate the array then fill
> it.  This would also allow you to strip all white space from the string
> before you parse it without affecting the numerical representations.

You are right here. There was a similar issue in www-style and the 
arguments that the WWW-style WG gave in support of explicit delimiters 
like ,; was that they allow for future extensions (like the use of
expressions x,x+2;x+width2,x+10%)

RBS

Received on Monday, 28 June 1999 04:41:52 UTC