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

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 UTC