W3C home > Mailing lists > Public > www-svg@w3.org > April 2010

Re: XLink namespace prefix

From: Erik Dahlstrom <ed@opera.com>
Date: Mon, 26 Apr 2010 12:53:49 +0200
To: "Johannes Roessel" <johannes.roessel@uni-rostock.de>, "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <op.vbrm7xhhgeuyw5@localhost>
On Mon, 26 Apr 2010 11:09:02 +0200, Johannes Roessel  
<johannes.roessel@uni-rostock.de> wrote:

> Hello,
>
> In tracing an issue yesterday why a specific SVG image won't render in  
> some renderers I noticed that it used the namespace prefix “l:” for  
> XLink instead of the more common “xlink:”. SVG being XML, this shouldn't  
> be much of a problem, theoretically. However, the W3C validator  
> complains about that too and several SVG renderers, including rsvg and  
> IE 9 Preview won't render the image when the namespace uses a prefix  
> different from “xlink:”.
>
> I didn't find anything in the specification that discourages or forbids  
> the use of other namespace prefixes. Is there anything on that? If the  
> prefix doesn't *have* to be “xlink:”, then perhaps a test case for that  
> behavior might be good to have, considering that several renderers have  
> problems with that.

We do have one test for arbitrary prefixes (ported over from the 1.2T  
testsuite):

   http://dev.w3.org/SVG/profiles/1.1F2/test/svg/conform-viewers-03-f.svg

Cheers
/Erik

-- 
Erik Dahlstrom, Core Technology Developer, Opera Software
Co-Chair, W3C SVG Working Group
Personal blog: http://my.opera.com/macdev_ed
Received on Monday, 26 April 2010 10:54:26 GMT

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