Answering my own question, looks like the namespace declaration is in the external DTD referenced from the file. Yet we don't read the external subset. Some time ago I tried to enable it via libxml but this did not seem to work. So this is actually a duplicate of
http://sourceforge.net/tracker/index.php?func=detail&aid=1042161&gro...
See a comment in that bug on my unsuccessful attempts to enable external DTD reading. If someone knows the correct libxml magic, you're welcome to try. It should be easy to do, and will close two bugs at once :)
On Sun, 16 Jan 2005 18:15:59 -0400, bulia byak <buliabyak@...400...> wrote:
I was going to close this bug as invalid:
http://sourceforge.net/tracker/index.php?func=detail&aid=1102678&gro...
because the attached file indeed does not declare the xlink: prefix, which is invalid XML. However to my surprise both Batik and Adobe render it without a complaint. What am I missing? I thought that if a file is invalid XML it cannot be valid SVG. Are Batik/Adobe being unduly permissive? What are we supposed to do in this situation?