RE: End of PHOTO Data

"Jasbir Khatkar" <[email protected]> Mon, 26 Apr 2004 14:42:18 +0100
Newsgroups gmane.ietf.vcard
Message-ID <[email protected]>
Hi,
  I believe the CRLF sequence should be properly line-wrapped (i.e. "=\r\n"
or is it " \r\n" SPCRLF???) the distinction should then be made when
processing the data that a line-wrap does not indicate the end of the
property data stream.

Regards,
Jasbir Khatkar

-----Original Message-----
From: [email protected] [mailto:[email protected]]On
Behalf Of Sharanaiah Srikanth-A19702
Sent: 26 April 2004 14:05
To: '[email protected]'
Subject: End of PHOTO Data


Hi,
 If CRLF is regarded as the end of Property data, then how do we determine
the end of property data in case of PHOTO property, where the photo property
has inline BASE64 encoded data? Cos BASE64 encoded data has a CRLF sequence
after every 76 chars. also there is no indication about the length of the
encoded data or end of the data. So how do we determine the End of Photo
data.

PHOTO;ENCODING=BASE64;TYPE=GIF:
R0lGODdhfgA4AOYAAAAAAK+vr62trVIxa6WlpZ+fnzEpCEpzlAha/0Kc74+PjyGM
SuecKRhrtX9/fzExORBSjCEYCGtra2NjYyF7nDGE50JrhAg51qWtOTl7vee1MWu1
50o5e3PO/3sxcwAx/4R7GBgQOcDAwFoAQt61hJyMGHuUSpRKIf8A/wAY54yMjHtz
...

Any insight into this will be helpful.

Thanks,
Srikanth



--------------------------------------------------------------------------
Hi,

Unless folding is used, it is assumed that a property will terminate at the
end of the line.  Hence the discovery of a CRLF (x0Dx0A) sequence indicates
the end of the property data.

Regards
Jasbir Khatkar

-----Original Message-----
From: owner-imc-vcard@xxxxxxxxxxxx [<mailto:owner-imc-vcard@xxxxxxxxxxxx]On>
Behalf Of Jacky Cheung
Sent: 02 October 2003 04:36
To: vCard
Subject: end line char


Hi,
Is there any standard of the end char in the end of define or
decalration of a property?


for example,
BEGIN:VCARD

What should be the chars which after "VCARD" ?

x0Dx0A?

Regards,
Jacky Cheung