[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Last call iCal questions
I think you're confusing the BNF definition of the Duration type
with the BNF definition of the DURATION calendar property.
In 4.8.2.5. the definition of DURATION calendar property is this:
Format Definition: The property is defined by the following notation:
duration = "DURATION" durparam ":" duration CRLF
;consisting of a positive duration of time.
durparam = *(";" xparam)
The definition that you pointed out was the Duration type BNF.
John Narbaitz wrote:
> I'm re-posting these because I didn't get a response last week ...
>
> 3 Questions:
>
> 1. duration. The duration rule is one of the possible properties of an iCalendar component. All of the other component properties (except for iana-comp and x-comp) begin with an identifying keyword (e.g.: attendee starts with "ATTENDEE", attach starts with "ATTACH"). In draft 5, it was defined better:
>
> duration = "DURATION" "=" duration CRLF
>
> whereas now:
> duration = (["+"] / "-") "P" (dur-date / dur-time / dur-week)
>
begin:vcard
fn:John Sun
n:Sun;John
org:Netscape
adr:501 E. Middlefield Road, MV054;;;Mountain View;CA;94043;USA
email;internet:jsun@netscape.com
title:Client Engineer
tel;work:650-937-4238
tel;fax:650-428-4059
tel;home:650-328-3888
note:Cubicle #30031, Building #22 2nd Floor
x-mozilla-cpt:;0
x-mozilla-html:FALSE
version:2.1
end:vcard