W3C home > Mailing lists > Public > public-svg-wg@w3.org > October to December 2010

Re: Bug in struct-use-04-b.svg and it's friends?

From: Chris Lilley <chris@w3.org>
Date: Wed, 13 Oct 2010 19:21:37 +0200
Message-ID: <852058236.20101013192137@w3.org>
To: Alex Danilo <alex@abbra.com>
CC: "public-svg-wg@w3.org" <public-svg-wg@w3.org>
On Wednesday, October 13, 2010, 2:37:57 AM, Alex wrote:

AD>         The external file is '../images/svgRef4.svg' which has
AD> as its root element:

AD> <svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" >

AD> i.e. no namespace declaration. If 'svgRef4.svg' is parsed with an
AD> XML parser, the elements with id of 'alpha', 'beta', etc. are in
AD> the null namespace, not in the SVG namespace.

Yes. And thus, in the absence of xml:id, no way to tell that @id is an identifier.

AD> Comments?

I went through all the svg files in the images directory. Four were missing namespace declarations, so I added them.

 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Wednesday, 13 October 2010 17:22:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:29:44 UTC