RE: base URL of the SVg document

Hi Rik,

Thanks for bringing up this bug! Sorry the feedback program wasn't working for you, but rest assured that we are aware of the bug and are tracking it internally. :)

Jen

-----Original Message-----
From: www-svg-request@w3.org [mailto:www-svg-request@w3.org] On Behalf Of Rik Cabanier
Sent: Tuesday, December 07, 2010 9:44 AM
To: Bjoern Hoehrmann
Cc: www-svg@w3.org
Subject: RE: base URL of the SVg document

So, this is not how IE9 resolves it so it's a bug in their code.
I tried to submit this through their feedback program but it's not working for me.

Do you know where I can submit this?

Rik

-----Original Message-----
From: Bjoern Hoehrmann [mailto:derhoermi@gmx.net] 
Sent: Monday, December 06, 2010 5:10 PM
To: Rik Cabanier
Cc: www-svg@w3.org
Subject: Re: base URL of the SVg document

* Rik Cabanier wrote:
>I'm not sure if this is the right forum but I'm seeing issues with loading resources.
>If we have a SVG file that is located in a sub directory and it uses resources such as images, we have different behavior where the images should be located.
>
>In the case of webkit and minefield, the URL of the image resource is based of the URL of the SVG file.
>In ie9 however, it is based of the URL of the HTML file.

Well if you have /1/example.html which refers to /2/example.svg and in /2/example.svg you have a relative reference like "example.png" then that is resolved independently of the address of the HTML document, so unless there are other things to consider, like xml:base attributes, that resolves to /2/example.png.
--
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Wednesday, 8 December 2010 21:57:06 UTC