Is there an existing renderer that can intelligently handle a recursive (that is, self-referential) svg file?
For example, this code from this question:
<svg width="100%" height="100%" viewBox="-100 -100 200 200" version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<circle cx="-50" cy="-50" r="30" style="fill:red" />
<image x="10" y="20" width="80" height="80" xlink:href="recursion.svg" />
</svg>
is not rendered properly in Firefox, Chrome, or Inkscape - but it doesn't seem that hard to make a renderer that keeps track of how many time it's opened a particular file, and stop after some sane number of iterations...
(If one doesn't exist, where might I go looking if I wanted to code one myself?)