[Cosmo-dev] communicating iCalendar parameters in EIM

Jeffrey Harris jeffrey at osafoundation.org
Thu Jan 25 14:13:35 PST 2007


>> Can I request that we actually include the colon even if there aren't
>> parameters (and use semi-colons to separate parameters)?  That would
>> solve the ambiguity I'm worried about in parsing.
> 
> how so?

Consider

Param=paramvalue;param2=paramvalue:To be, or not to be: that is the
question:

and

To be, or not to be: that is the question:

If we DON'T start with a colon, what heuristic should I use to
distinguish between these?

Clearly, in this example, the whitespace and lack of an equals means
parsing for parameters will fail, but if I used tobe=ornottobe: instead,
there'd be no way to know.

If values without parameters started with a colon, it would be easy to
see parameters coming, the latter would start with a colon, the former
wouldn't.

Sincerely,
Jeffrey


More information about the cosmo-dev mailing list