W3C home > Mailing lists > Public > public-svg-wg@w3.org > April to June 2009

Re: ISSUE-2259 (inconsistent-uri-type): Inconsistent use of <uri> symbol [SVG Full 1.1]

From: Chris Lilley <chris@w3.org>
Date: Thu, 16 Apr 2009 15:03:01 +0200
Message-ID: <1645451985.20090416150301@w3.org>
To: SVG Working Group Issue Tracker <sysbot+tracker@w3.org>
CC: public-svg-wg@w3.org
On Monday, April 13, 2009, 12:12:58 PM, SVG wrote:

SWGIT> ISSUE-2259 (inconsistent-uri-type): Inconsistent use of <uri> symbol [SVG Full 1.1]

SWGIT> http://www.w3.org/Graphics/SVG/WG/track/issues/2259

SWGIT> Raised by: Cameron McCormack
SWGIT> On product: SVG Full 1.1

SWGIT> In SVG 1.1, the <uri> grammar symbol is used in two
SWGIT> inconsistent ways.  It used as the value of the xlink:href=""
SWGIT> attribute, for example, where the attribute is meant to contain
SWGIT> just the bare URI.  It is also used in the grammar for various
SWGIT> properties, such as 'clip-path', where it really needs to have "url(" ")" around it.

We fixed that in SVGT 1.2 by having two separate productions:

<FuncIRI>

    Functional notation for an IRI: "url(" <IRI> ")".

<IRI>

    An Internationalized Resource Identifier (see IRI). For the specification of IRI references in SVG, see IRI references.



SWGIT> Either the property definitions need to be updated to include
SWGIT> the "url(" ")" parts explicitly, or <uri> needs to be split
SWGIT> into two grammar symbols: one with "url(" ")" and one without.

Prefer the latter as that is what we did for 1.2T




-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG
Received on Thursday, 16 April 2009 13:03:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 16 April 2009 13:03:12 GMT