W3C home > Mailing lists > Public > www-svg@w3.org > May 2003

Re: <uri>

From: Chris Lilley <chris@w3.org>
Date: Sat, 17 May 2003 10:14:33 +0200
Message-ID: <9443540588.20030517101433@w3.org>
To: www-svg@w3.org, www-svg-request@w3.org, Steve Schafer <steve@fenestra.com>

On Thursday, May 15, 2003, 9:59:36 PM, Steve wrote:


SS> SVG 1.1 appears to use <uri> to represent two syntactically distinct
SS> entities. On the one hand, <uri> represents an unadorned URI reference,
SS> as in the example in Section 5.3.2:

SS>  xlink:href="foo.gif"

SS> But elsewhere it follows the syntax of CSS2's <uri>, as in the example
SS> in Section 5.3.3:

SS>  fill="url(#Gradient01)"

SS> There are numerous other examples of both usages.


All CSS properties are also available as xml presentational
attributes, with identical syntax.

Thus, all presentational attributes use the CSS url() syntax.

All hrefs from the xlink namespace use bare URI references.

Is there a third category that you spotted?

SS> Incidentally, I could find nothing in SVG 1.1 that directly references
SS> the CSS2 interpretation of <uri>; I had to infer it from the code
SS> examples.

Good call - thanks, will fix in 1.2

-- 
 Chris                            mailto:chris@w3.org
Received on Saturday, 17 May 2003 04:14:48 GMT

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