Subject: Re: [xsl] Re: [answered] collecting multiple tokenize() results into one sequence From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 29 Jul 2008 15:09:15 -0400 |
Hi Wendell,
"better" in what sense?
Here, saying less may make it easier to maintain correctness of the error message across all situations...
and I grant that an error message that's incorrect or unclear for the particular instance can be misleading and frustrating...
but if a terse, correct error message leaves the programmer wondering why the expression is illegal, it seems to me that it's still failed an important goal of error messages.
On the other extreme, explanatory paragraphs and tutorials are too much to expect from error messages. Maybe the best bet is to give an error ID or URL or some other reference that makes it easy to look up more information on why a particular error occurred.
A less specific but still helpful (when true) bit of information to tell the user would be that the given path requires (or, is relative to) the current document. That would cover the case of initial "/", key(), and maybe others that implicitly access the current document.
This does not explain everything to the user, but may give them the missing data point that allows them to connect two seemingly unrelated dots.
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Re: [answered] collecting, Michael Kay | Thread | [xsl] what is ....select=3D" .., Detlef Heyn |
[xsl] First occurrence of glossary , Marroc | Date | [xsl] SFINAE in xslt?, Vladimir Nesterovsky |
Month |