logo       

RE: Error conditions: msg#00050

Subject: RE: Error conditions
I guess I feel like a middle ground is needed here. On the one hand, we could 
spend a lot of time and effort whittling error categories into a defined set 
(perhaps we need to TM just for the error and what they relate too :-) and then 
imposing that requirement on developers. On the other hand, there should be 
some specificity or we end up just like the low-end XML parsers -- giving 
nothing helpful to the XML author.

Perhaps we can devise some form of hierarchical implementation requirement -- 
specifying at the lowest level the detailed error conditions that should be 
trapped and how they should be reported and then one (or more) higher levels of 
broader specificity, enabling developers to implement an easier error condition 
set at first.

Steve Carton

-----Original Message-----
From: tmql-wg-bounces@xxxxxxxxxxxxxxxx 
[mailto:tmql-wg-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Lars Marius Garshol
Sent: Saturday, March 10, 2007 9:35 AM
To: tmql-wg@xxxxxxxxxxxxxxxx
Subject: Re: [tmql-wg] Error conditions


* Robert Barta
>
> A bit, yes. At least we would have a list (maybe 10?, just guessing) 
> errors named.

We could, but IMHO it's more important to finish TMQL than to include this 
list. Anything we add to the language extends the time it takes to finish.

* Lars Marius Garshol
>
>  - causes problems for implementors, because error situations tend to
>    be highly dependent on implementation strategy, and

* Robert Barta
>
> OK, that should actually not happen. If the query is valid, then a 
> processor MUST perform, regardless how it is implemented.

Yes, and if it is an error, the processor MUST NOT perform. So we agree on 
that. What I meant is that it's more work for an implementation to distinguish 
error situation A from error situation B than it is to simply say "this query 
is wrong". Of course, better error reports make for a better query processor, 
but that's a choice for the developer to make. Some XML parsers (Ælfred, XP) 
simplify things by simply reporting everything as a "syntax error".

My experience is also that if you choose a different implementation strategy 
from others you may find distinguishing between errors A and B quite a bit 
harder.

--Lars M.


_______________________________________________
tmql-wg mailing list
tmql-wg@xxxxxxxxxxxxxxxx
http://www.isotopicmaps.org/mailman/listinfo/tmql-wg


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe