From: winterlion (winterlion@fsj.net)
Date: Wed Jan 24 2001 - 12:21:12 EST
on passing URL's into XML's open:
reasonable; particularily if that is the form your environment
handles -all- filesystem/network interfaces (mine does)
on passing directories:
at first glimpse -> fix the programmer! XML should fail
gracefully (say, return value from open() signifying a problem)
but other than that not an XML issue
on second glimpse ->
well, seeing as there's helpers for ftp, http, and such
it could almost be reasonable to make a hook-system for
file interface, as well as for directories...
the problem with the last is bloat -> and I don't know if it's appropriate
for XML to handle. I like the idea of a library that makes a directory
appear as an XML file but I suspect it's beyond the mandate of libXML :)
(actually it's too open to too many possibilities and filetype handling is
a real pain... hrmm.... sounds like fun :)
On the subject of user interfaces loading files:
if your interface can't filter out unreasonable files; fix the
interface. I've -never- had a program crash due to the person
in front of it entering unreasonable data - I always add filters
at that point. (and I've been writing programs for lots of years)
-> this is a GOOD example of "fix the programmer"
On the subject of broken XML files links:
see above for graceful recovery. This one suspects that XML
uses it's own "open" for retrieving documents referenced within
an XML file but has not checked...
I can't think at the moment for any other situations...
G'day, eh? :)
- Winterlion
-- Any fool could be a witch with a runic knife, but it took skill to be one with an apple-corer. - Terry Pratchet, Carpe JugulumMember in too many techs ruin the stew standing of the Mad Poet's Society. Trying to bring truth from beauty is Winterlion. find at this <a href="http://geocities.com/winterlion">winterlions' page</a>
---- Message from the list xml@rpmfind.net Archived at : http://xmlsoft.org/messages/ to unsubscribe: echo "unsubscribe xml" | mail majordomo@rpmfind.net
This archive was generated by hypermail 2b29 : Wed Jan 24 2001 - 14:45:12 EST