html - Firebug indicates two requests in an SVG with xml:base attribute -
i have working svg drawing in <iframe> <image> elements. drawing located in 1 location; images relative another. here html:
<iframe src="/howl/svg/id/482?width=535&height=325"></iframe> here svg source <iframe>:
<svg xml:base="/howl/"> <svg width="535" height="325" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="svg_1"> <image xlink:href="file/id/472" id="svg_4" height="516" width="631" y="-95.5" x="-48"/> </g> </svg> </svg> everything displays properly. however, according firebug, i'm getting 2 requests:
http://localhost:8086/howl/file/id/472- correct , loads properly.http://localhost:8086/howl/svg/id/file/id/472- incorrect.
interestingly, incorrect request not return 404, churns indefinitely in firebug mysterious spinner. unable click-inspect request. if type url directly browser:
http://localhost:8086/howl/svg/id/file/id/472 i 404 not found, expect, not firebug reports.
is problem svg? firebug error? second request being made?
thanks!
updated: i've included entire source code.
i seeing these requests, it's firefox does. so, doesn't seem firebug problem (other firefox monitoring tools show same).
i don't have experience svg, if replace the:
<svg xml:base="/howl/"> with
<svg> i see 2 requests. xml:base for?
Comments
Post a Comment