#281: Provide more helpful messages for gibberish syntax
------------------------+---------------------------------------------------
  Reporter:  jblayloc   |       Owner:  jblayloc              
      Type:  defect     |      Status:  new                   
  Priority:  minor      |   Milestone:                        
 Component:  WebSearch  |     Version:                        
Resolution:             |    Keywords:  Invenio INSPIRE Syntax
------------------------+---------------------------------------------------

Comment (by jblayloc):

 I think Tibor that interpreting (|kaon) as equivalent to ''|kaon is not at
 all the clearly best way.  Without taking time to brainstorm, there are
 three immediately obvious ways I can imagine dealing with this piece of
 syntax:
 * Interpreting as {{{(''|kaon)}}}
 * Interpreting as {{{("|kaon")}}}
 * Interpreting as {{{|(kaon)}}}

 ...but you see, I think it's inherently problematic that I have to use the
 word 'Interpreting' in each of those instances.  This is an ambiguous
 construct which is invalid in formal logic: the only possibility is that
 we assign some meaning to it.  And we can do that.  But if we choose to
 assign meaning to it, then we have to be very explicit that this is what
 we're doing.  And we have to make sure that the users know that this is
 what we've done.

 I think it would be simpler (in code) and easier for the user to cope with
 if they simply got an error message and corrected their search.

-- 
Ticket URL: <http://invenio-software.org/ticket/281#comment:3>
Invenio <http://invenio-software.org>

Reply via email to