Hello Patrick !
If I sync "NOTE:ampersand entity & less-than entity <", Memotoo
-> Evolution, the entities are not decoded in my Evolution (Evolution
2.32.2) ...
So I do not want to encode theses values ...
Thomas
Le 12/07/2011 09:01, Patrick Ohly a écrit :
Hello Thomas!
Some of SyncEvolution's test cases include characters that are special
in HTML, including ampersand and HTML entities. HTML entities are not
(or no longer?) handled correctly by Memotoo.
The entities are sent like this:
<Data><![CDATA[BEGIN:VCARD
VERSION:2.1
REV:20110711T140323Z
N:xml;entities;;;
FN:xml entities
X-EVOLUTION-FILE-AS:xml, entities
X-GENDER:
NICKNAME:user12
TITLE:
ORG:;;;
ROLE:
TEL:
EMAIL:
URL:
X-MOZILLA-HTML:
ADR:;;;;;;
BDAY:
NOTE:ampersand entity& less-than entity<
PHOTO:
END:VCARD
]]></Data>
[XML dump - the actual message was WBXML, where CDATA is not necessary]
http://runtests.syncevolution.org/2011-07-11-21-30_all/head-lucid-amd64/17-memotoo/Client_Sync_eds_contact_testItems.send.client.A/syncevolution-log_trm002_003_outgoing.xml
This contact comes back as:
<Data><![CDATA[BEGIN:VCARD
VERSION:3.0
REV:20110711T140330Z
N:xml;entities;;;
FN:xml entities
NICKNAME:user12
NOTE:ampersand entity& less-than entity<
END:VCARD
]]></Data>
http://runtests.syncevolution.org/2011-07-11-21-30_all/head-lucid-amd64/17-memotoo/Client_Sync_eds_contact_testItems.refresh.client.B/syncevolution-log_trm003_006_incoming.xml
Note that the HTML entities were replaced with the corresponding
characters, which is not the same.
I'm going to disable this test case for Memotoo. But you might want to
look into this and fix it.
_______________________________________________
SyncEvolution mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution