Subject: Clarification on SEARCH command

From: "Preston Stephenson" <[email-masked]>
Date: Thu, 24 Jul 2003 11:09:56 -0600

When I first read the SEARCH command, I think I misunderstood it. I got
confused with rule (7) and cases (a, b and c) in 6.1.1. I took that to
mean the component as well as the sub component.

Based on sections 6.1.1 CAL-QUERY Value Type and 10.8 SEARCH Command,
which is the correct response to:

BEGIN:VCALENDAR
VERSION:2.0
CMD:SEARCH
TARGET:mytarget
BEGIN:VQUERY
QUERY:SELECT DTSTART,DTEND,SUMMARY,UID FROM VEVENT
END:VQUERY
END:VCALENDAR

(no component)
BEGIN:VCALENDAR
VERSION:2.0
CMD:REPLY
TARGET:mytarget
BEGIN:VREPLY
REQUEST-STATUS:2.0
DTSTART:20030725200000Z
DTEND:20030725203000Z
SUMMARY:Event1
UID:Uid1
DTSTART:20030725210000Z
DTEND:20030725213000Z
SUMMARY:Event2
UID:Uid2
END:VREPLY

(component)
BEGIN:VCALENDAR
VERSION:2.0
CMD:REPLY
TARGET:mytarget
BEGIN:VREPLY
REQUEST-STATUS:2.0
BEGIN:VEVENT
DTSTART:20030725200000Z
DTEND:20030725203000Z
SUMMARY:Event1
UID:Uid1
END:VEVENT
BEGIN:VEVENT
DTSTART:20030725210000Z
DTEND:20030725213000Z
SUMMARY:Event2
UID:Uid2
END:VEVENT
END:VREPLY

As always, if you are putting in more examples, that would be great.

Thanks.
Preston