29 Jan
2005
29 Jan
'05
1:36 a.m.
On Fri, 2005-01-28 at 09:26, bulia byak wrote:
Ah, sorry, indeed. I was looking at an old document. We're clean now :)
So, given that these new documents won't make the parser go to the net, do you think we can enable external DTD loading?
No, because users will get SVGs from plenty of other sources that do include a DOCTYPE declaration.
The correct thing to do is to include at least include the basic SVG DTDs in our package, with an appropriate catalog file. See http://www.w3.org/TR/html401/sgml/intro.html for an example of how such a catalog might be prepared.
I unfortunately don't know specifically how to tell libxml to use the catalog. Also, it should be possible to disable loading non-file URIs.
-mental