[uf-dev] Re: [uf-discuss] http://microformats.org/wiki/hcard-issuesin adr: singular or plural?

Ryan King ryan at technorati.com
Sun Mar 25 22:48:47 PST 2007


On Mar 25, 2007, at 8:52 PM, Michael MD wrote:

>>>
>>> Are there any country-names where a comma is used?
>>>
>>> I seem to recall Operator barfing, when I used two locality   
>>> attributes, previously.
>>
>> This is a non-issue. The comma can be escaped with a backslash.
>
> In the parser I'm working on such things would be returned as arrays
>
> Is it ok to do this or is concatenating to a single string a  
> requirement in the parser?
> (then it would be up to the app to decide what to do with them ..  
> but at least the data is still there...)

If your parser doesn't do vCard conversion, the particual issue of  
commas in field values doesn't apply. It's only the vCard  
serialization where the comma matters (and is easily escapable with a  
backslash).

-ryan
--
Ryan King
ryan at technorati.com





More information about the microformats-dev mailing list