
On 22/06/06, Bob Jamison <rwjj@...127...> wrote:
Hi, all, [ snip ]
In addition, shouldn't a document's "DocumentBase" uri (and resources it references) be a real W3C URI, or even an IRI? That way we can get a consistent method for referring to things, rather than always calculating paths explicitly all over the code tree.
Just a suggestion! :)
It is a perfectly good suggestion. I noticed the same same thing in the XML code. When Inkscape wants to read an XML file, it passes the path in a C string to the XML module (which is pretty much the only interface to the XML module). I assumed that this was established long ago, and works, or at least works well enough, to not need changing.
My first idea would have been to have a 'file interface' and a 'local file' implementation, but your idea seems better.
What I can't estimate, is whether it is worth doing!
.Ben