[uf-dev] escaping single values

Ryan King ryan at technorati.com
Wed Jun 21 14:15:08 PDT 2006


On Jun 21, 2006, at 2:03 PM, brian suda wrote:

> 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.

Ah, I seem to have missed that part of the RFC. I stand corrected.

-ryan



More information about the microformats-dev mailing list