[Ietf-calsify] Section 3.2: "method" parameter and sequence of
iCalendar objects
Alexey Melnikov
alexey.melnikov at isode.com
Mon Oct 9 04:58:30 PDT 2006
Bernard Desruisseaux wrote:
> Alexey,
>
> I understand you "don't feel good about disallowing "method"
> with iCalendar stream containing multiple objects."
If the "method" is not present, this means that the message is not an
iMIP message.
So for an iMIP message the "method" must be present.
The use case I am thinking about is batch replay of transactions. You
can say that transactions might have different "method" values. But I
would rather not prohibit something that might be useful in the future,
if this doesn't cost anything (or almost nothing) for implementors.
> What should be done with the "method" parameter when the iCalendar
> stream is a sequence of iCalendar objects with the same or different
> METHOD values?
If a stream is a sequence of iCalendar objects with the same METHOD
value, it is Ok to allow for "method" parameter.
If a stream is a sequence of iCalendar objects with different METHOD
values, then this should be considered an error.
> While I don't understand your concern here, I'm open to other
> alternatives to close this (minor) issue. :-)
How about the following:
Old text:
> The "method" parameter MUST be the same value as that
> specified in the "METHOD" component property in the iCalendar object.
> If one is present, the other MUST also be present.
Bernard's new text:
> The "method" parameter MUST be specified only for iCalendar
> stream that contains a single iCalendar object. The "method"
> parameter MUST be the same value as that specified in the "METHOD"
> component property in the iCalendar object. If one is present,
> the other MUST also be present.
_
_My proposal:
> The "method" parameter can be specified only for an iCalendar
> stream that contains one or more iCalendar objects, all having
> the same value of the "METHOD" component property. The "method"
> parameter MUST be the same value as that specified in the "METHOD"
> component property in the iCalendar object. For such iCalendar
> streams, if one is present, the other MUST also be present.
> It is an error if the "method" parameter is specified for an iCalendar
> stream that contains multiple iCalendar objects with different
> values of the "METHOD" component property.
Does this work?
More information about the Ietf-calsify
mailing list