[uf-dev] ADR Multiple instances of children
ryan
ryan at theryanking.com
Wed Jan 16 17:49:47 PST 2008
On Jan 16, 2008, at 4:33 PM, Andy Mabbett wrote:
> In message <5B277CDD-6233-40AF-B95D-74623C3733DD at theryanking.com>,
> ryan
> <ryan at theryanking.com> writes
>
>>> Basically, any parser that finds multiple instances of children ADR
>>> properties, should just concatenate them together with a ','
>
>> I say that we should do this on any ADR sub-property that the RFC
>> doesn't explicitly disallow. And looking at the the RFC now, I can't
>> make a case for disallowing it on any of ADRs sub-properties.
>
> Those properties are:
>
> * type [work|home|pref|postal|dom|intl]
> * post-office-box
> * street-address
> * extended-address
> * region
> * locality
> * postal-code
> * country-name
>
> I'm not clear what the cases for having comma-separated, concatenated
> values for type, PO Box, postal code or country are.
Type already allows multiple values (and it a parameter in vcard, not
a sub-property).
For the rest, that's probably a good argument that those don't make
"semantic sense".
> Would a multi-term type be valid? In the UK at least, PO boxes or
> postal
> codes with commas would be invalid. Can anyone give an example of a
> country whose name includes a comma?
You can escape commas with backslash (\).
-ryan
More information about the microformats-dev
mailing list