RE: <polygon ... /> problem/bug =SOLUTION=

I solved the problem! Added commas between xy-coordinates.

<polygon
points="38782,734923,38782,734913,38530,734913,38530,734919,38523,734919,385
23,734923" style="stroke:blue; fill:cyan;" />

In examples of the "SVG Essentials" Book from O'Reilly, they separate the
xy-coordinates with a space character ...

<polygon
points="38782,734923 38782,734913 38530,734913 38530,734919 38523,734919
38523,734923" style="stroke:blue; fill:cyan;" />


Thanks all,
RT

#-----Original Message-----
#From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf Of
#Tobias Reif
#Sent: sexta-feira, 6 de Fevereiro de 2004 10:17
#To: Rui Tavares
#Cc: www-svg@w3.org
#Subject: Re: <polygon ... /> problem/bug
#
#
#Hi
#
#On Thu 2004-02-05 Rui Tavares wrote:
#> 	<polygon points="38782,734923 38523,734923 38523,734919 38530,734919
#> 38530,734913 38782,734913 38782,734923" style="stroke:blue; fill:cyan;"
#/>
#>
#> </svg>
#>
#>
#> the browser only shows the 6 points (actually circles). It should
#> print the POLYGON element, too!
#
#It seems the commas are not commas, a validator can be helpful:
#
#xmllint --valid --noout -
#-:15: parser error : Input is not proper UTF-8, indicate encoding !
#        <polygon
#points="38782,734923 38523,734923 38523,734919 38530,734919
#                                     ^
#Tobi
#
#--
#Vim users, don't forget to
#   http://iccf-holland.org/donate.html
#

Received on Friday, 6 February 2004 05:29:27 UTC