[uf-dev] escaping single values
brian suda
brian.suda at gmail.com
Wed Jun 21 14:03:13 PDT 2006
In RFC 2426, section 5 (5. Differences From vCard v2.1, p 36-37)
. Any COMMA or SEMICOLON in a text type value must be backslash escaped.
In the RFC 3.1.1 FN Type Definition, example
Type value: A single text value.
Type example:
FN:Mr. John Q. Public\, Esq.
So FN (which is a single value) is defined as a "Text Value", which must
be escaped by section 5. Then in their example, they also escape the comma.
My vote is that it should stay, and that escaping commas and semicolons
is the correct behavior if it is singular or plural.
-brian
Ryan King wrote:
> There are values in vCard and iCalendar which are specified as
> singular (FN is an example). In these cases, X2V still escapes commas.
> It seems to me that this is unnecessary, though it *is* compatible
> with some existing applications.
>
> I'm interested to hear what others think on this- should these be
> escaped, even when they don't need to be?
>
> -ryan
> _______________________________________________
> microformats-dev mailing list
> microformats-dev at microformats.org
> http://microformats.org/mailman/listinfo/microformats-dev
>
More information about the microformats-dev
mailing list