On 12/5/2011 7:28 AM, Simon Wright wrote:
> The particular tool is in fact a general XML access library (in Ada);
> personally, I think the decision to accept or reject should be left to
> the tool that uses the library, not to the library.
Until relative namespace names are un-deprecated -- which TB-L thought
might happen someday, but which I consider extremely unlikely for the
reasons cited -- I have trouble faulting a library which rejects them.
XML's greatest strength is that it is a standardized syntax which can
reliably be passed between tools and machines. Relaxing that standard
does a disservice to the users, by encouraging the creation of documents
which can not be interchanged.
Yes, I see the argument for "strict creation, lax acceptance". But that
still means digging yourself into a hole that you *will* eventually have
to fix, and it's cheaper to get it fixed earlier. You're going to wind
up fighting this battle to get people migrated off broken tools sooner
or later; better to do it sooner, in my opinion. Especially in something
like Ada.
Meanwhile, if you don't like one implementation of the XML libraries
you're free to find or write another, and someone has probably already
done so. Of course that may have its own limitations or issues. That's
the nature of engineering; pick the tool which is the best for your
particular task.
--
Joe Kesselman,
http://www.love-song-productions.com...lam/index.html
{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail! | "Put down the squeezebox & nobody gets hurt."