Re: CAP-12-a: 9.6 VQUERY Component - QUERYID/NAME

[email protected]
Newsgroups gmane.ietf.calendar
Message-ID <OFE33FB37E.82FFD6AB-ON85256D97.0078B1FC-85256D97.007A0B34@notesdev.ibm.com>
Doug replied on 09/04/2003 01:58:47 PM:
> Identify != 'looking for' as the following is as valid:
> 
>    SELECT VQUERY FROM VAGENDA WHERE 'some ... locale string' IN NAME
> 
> as:
> 
>    SELECT VQUERY FROM VAGENDA WHERE QUERYID = '123'
> 
> VQUERY is a component searchable like any other.

You are once again confusing SEARCHing for VQUERYs with using "looking 
for" VQUERYs to use in a command.  The former is above, the latter is:

BEGIN:VQUERY
TARGET:cap:FrodosCalendar
QUERYID:EventsInTheShire
END:VQUERY

where whatever command is told to use the query identified by 
QUERYID:EventsInTheShire in VAGENDA FrodosCalendar rather than another 
TARGETed VAGENDA to find the entries that are to be processed by the 
command.  At least thats what I take from:

   For a search, if the "TARGET" property is supplied in a "VQUERY"
   component, then the CS is to search for the query in the CALID
   supplied by the "TARGET" property value.

I did not take "a search" above to be "a SEARCH" as in a SEARCH command. I 
took this to be "Use the QUERYID value to find the desired actual query in 
the specified TARGET" rather than limiting it to an actual SEARCH or 
SELECT as you suggest.  Is this not consistant with the comments in the 
ABNF for VQUERY:

             ; 'queryid' is OPTIONAL but MUST NOT occur
             ; more than once. If the "TARGET" property
             ; is supplied then the "QUERYID" property
             ; MUST BE supplied.

and the text:

                                        ...looking for a correct stored
   "VQUERY" component...

If not then the comments and the prose under 9.6 need to be better phrased 
to reflect the correct intent.

In addition, if the intent of "For a search" was to imply a SEARCH command 
then I have to ask why the same "find the query" logic is not applicable 
to other commands like DELETE or MOVE?

Bruce
===========================================================================
Bruce Kahn                                INet: 
[email protected]
Messaging & Collaboration                 Phone: 978.399.6496
IBM Software Group                         FAX: and nothing but the FAX...
Standard disclaimers apply, even where prohibited by law...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.