qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] What am I doing wrong?


From: Per Bothner
Subject: Re: [Qexo-general] What am I doing wrong?
Date: Fri, 22 Nov 2002 12:45:42 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016

Bob Connell wrote:

  {
    FOR $b IN document("bib.xml")/bib/book
    WHERE $b/publisher = "Addison-Wesley" AND $b/@year > 1991
    RETURN

        { $b/title }

  }
Any ideas on what I could be doing wrong?

All the keywords, specifically as 'for', 'in', 'where', 'and',
and 'return', need to be lower-case, as required by recent
draft specifications.  The upper-case keywords are not allowed,
and are confusing the parser.  It could probably be smarter
about the error message!  I suspect the more current versions
(in CVS) are better.
--
        --Per Bothner
address@hidden   http://www.bothner.com/per/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]