[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [VCARDDAV] Embedding XML in vCard
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/20/09 11:17 AM, Simon Perreault wrote:
> - The content of the "XML" property would be an XML chunk with default XML
> namespace being the vCard 4 namespace. The elements allowed there would be those
> that are allowed to be immediate children of the <vcard> element.
Why not specify that the element allowed in the "XML" property is
<vcard> (which naturally can contain any of its defined children)?
I'm hoping we can avoid things like this:
BEGIN:VCARD
VERSION:4.0
XML:<fn><text>Simon Perreault</text></fn>
XML:<n>
<surname><text>Perreault</text></surname>
<given><text>Simon</text></given>
<prefix><text/></prefix>
<suffix>
<text>ing. jr.</text>
<text>M.Sc.</text>
</suffix>
</n>
XML:<bday><date>--0203</date></bday>
XML:<anniversary><date-time>20090808T1430-0500</date-time></anniversary>
XML:<sex>1</sex>
XML:<lang><pref>1</pref><language-tag>fr</language-tag></lang>
.
.
.
END:VCARD
Peter
- --
Peter Saint-Andre
https://stpeter.im/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkreHAoACgkQNL8k5A2w/vzpwQCg7o0amPxt+l9hBcgw28jF2fUK
OcoAoKzYMz+YBM8qghVd4l0t1cZnlUr5
=VTdl
-----END PGP SIGNATURE-----