Re: <uri>

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 UTC