Re: Identifying Multi-valued items
Sam Roberts <[email protected]> Sat, 1 Feb 2003 18:55:49 -0500
| Newsgroups | gmane.ietf.vcard |
|---|---|
| Message-ID | <20030201235549.GA7912@debian> |
I'm not a vCard expert, but since this list seems to be dead except for us... Quoteing [email protected], on Fri, Jan 31, 2003 at 06:59:04PM -0500: > Rfc2425 has this to say about multi-valued items: > > Each attribute defined in the text/directory body MAY have multiple > values, if allowed in the definition of the profile in which the > attribute is used. The general rule for encoding multi-valued items > is to simply create a new content line for each value (including the > type name). > > Can someone please tell me how I can figure out which items are single > valued and which are multi-valued? Do you mean from reading the RFCs? Despite that quote, I guess you noticed RFC 2425 doesn't seem to really say much about multiplicity of values. Some seem to obviously allow multiples (TEL), and SOURCE even says that you can have it multiple times. But NOTE, for example, doesn't say that it can be specified multiple times, but surely can. As, I would think, would PHOTO (a gif and a png in a vcard would seem reasonable). Some things, like VERSION, would seem to only be allowed to be specified once, though I don't see that stated. On the decoding side, if you see multiple values, I guess its multi-valued.... Sam