W3C home > Mailing lists > Public > www-svg@w3.org > February 2004

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

From: Rui Tavares <rmt@uninova.pt>
Date: Fri, 6 Feb 2004 10:29:11 -0000
To: <www-svg@w3.org>
Message-Id: <20040206102911.EA91A8800F8@egp.w3.org>

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 GMT

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