I have the following file, image.svg, along with a file bitmap.png in the same spot on a server:
<?xml version="1.0" ?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="100px" height="100px" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<image x="0" y="0" width="100px" height="100px"
xlink:href="bitmap.png" />
</svg>
When I go directly to the image file, it includes the bitmap.png image.
When I include the image in a webpage with an <object data="image.svg"></object>
tag, the bitmap.png file loads.
When I include the image in a webpage with the <img src="image.svg" />
tag, the bitmap.png does not load.
What gives?