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.





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.


<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)"/>




Keep up the great work!


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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:54:40 UTC