[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Should COMMAs be escaped in LOCATION?
One additional footnote to Erics question:
>Is this correct?
If you are parsing vCalendar (remember that VERSION:1.0 spec??) then the values are "strings" (Shame on you vCalendar authors!!) and as such, if you are parsing a vCalendar LOCATION then the example is technically "correct" since the string is only terminated by the CRLF followed by a non-LWSP character. Escapement of the comma is NOT required or of any meaning since the data was loosely typed (as opposed to the strong data typing of iCalendar).
So, for vCalendar the example IS correct. For iCalendar, see previous reply.
I mentioned vCalendar since there are some sites that currently use it (ie: Musi-cal) and I found at least a dozen projects that used (or still use) vCalendar as the data format so you should be somewhat sensitive to its presence.
Bruce Kahn INet: Bruce_Kahn@xxxxxxxx
Iris Associates Phone: 978.392.5335
Westford, MA, USA 01886 FAX: and nothing but the FAX...
Standard disclaimers apply, even where prohibited by law...
Description: S/MIME Cryptographic Signature