On Thu, 15 Jul 2004, Phil Barker wrote:
> What is the consequence of a vCard processor knowing it doesn't have
> valid entries N and FN? If the consequence is LOM records not getting
> processed then it seems a high price to pay. But perhaps I'm being
> overly pessimistic.
Well, FWIW, MS-Office tools are happy to parse both of the following
http://homes.ukoln.ac.uk/~lisap/test1.vcf
http://homes.ukoln.ac.uk/~lisap/test2.vcf
(empty N and FN and missing N and FN) which (I'll happily admit) is not
exactly an exhaustive test, but does indicate that tools might be more
relaxed about these things than you think.
> My proposal breaks if you believe there is someone called "none"
Hmmm, well I'll admit that I don't actually know anyone with this name :-)
But, for all I know, there may be somewhere in the world where 'None' is a
perfectly valid name...
...OK, OK, I accept that it's an unlikely scenario! :-)
> > - You can tell it represents an org because ORG equals FN.
>
> How about:
> <![CDATA[BEGIN:VCARD
> FN:WH Smith
> N:none
> ORG:WH Smith
> VERSION:3.0
> END:VCARD]]>
>
> or
> <![CDATA[BEGIN:VCARD
> FN:WH Smith
> ORG:WH Smith
> VERSION:3.0
> END:VCARD]]>
I still cannot tell if these (particularly the second one) mean "the
person called WH Smith who is affiliated to the organisation called WH
Smith" or "the organisation called WH Smith"??
On the other hand
<![CDATA[BEGIN:VCARD
FN:WH Smith
ORG:WH Smith
VERSION:3.0
NOTE:objectClass\: organization
END:VCARD]]>
is unambiguous and as compliant with vCard as your second one. But I'm
repeating myself so I'll try to shutup now! :-)
Andy
--
Distributed Systems, UKOLN, University of Bath, Bath, BA2 7AY, UK
http://www.ukoln.ac.uk/ukoln/staff/a.powell +44 1225 383933
Resource Discovery Network http://www.rdn.ac.uk/
|