W3C home > Mailing lists > Public > www-svg@w3.org > January 2013

RE: SVG primer document error

From: David Dailey <ddailey@zoominternet.net>
Date: Wed, 30 Jan 2013 19:16:47 -0500
To: "'Paul Ostrowski'" <postrowski@apriva.com>, <public-svg-ig@w3.org>, <www-svg@w3.org>
Cc: "'Dailey, David P.'" <david.dailey@sru.edu>
Message-ID: <002101cdff48$428b0e30$c7a12a90$@net>
Thanks for the compliments and for pointing out the errors. I've been
keeping a little file containing  exactly these sorts of things for the next
time we actually update the SVG Primer.

 

Cheers

David

 

From: Paul Ostrowski [mailto:postrowski@apriva.com] 
Sent: Wednesday, January 30, 2013 5:03 PM
To: public-svg-ig@w3.org; www-svg@w3.org
Subject: SVG primer document error

 

First, I have to say that I really love the SVG primer document you wrote!
It's pure gold!

However, while going through it, I ran into an issue: In your examples of
how to use the <use> tag, you aren't putting the hash character everywhere
its needed, and as a result, the first several examples of using the <use>
tag don't work. It took me a little while to figure out what was needed to
correct it.

i..e.:

<use xlink:href="G" transform="translate(120,0)" fill="#bbb">

Should be:

<use xlink:href="#G" transform="translate(120,0)" fill="#bbb">

 

Same changes here:

<g stroke="black" stroke-width="2" fill="none" >

  <ellipse id="g1" cx="100" cy="100" rx="75" ry="40" />

  <use xlink:href="#g1" transform="rotate(30 100 100)"/>

  <use xlink:href="#g1" transform="rotate(60 100 100)"/>

</g>

 

 

Keep up the great work!

 

Paul Ostrowski
Received on Thursday, 31 January 2013 00:17:44 GMT

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