6.0.0-beta1
7/6/25

[#10692] Funambol: Lexical error
Summary Funambol: Lexical error
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 3. High
Owners jan (at) horde (dot) org
Requester horde (at) chk (dot) cksf (dot) de
Created 10/30/2011 (4998 days ago)
Due
Updated 10/31/2011 (4997 days ago)
Assigned
Resolved 10/31/2011 (4997 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch Yes

History
10/31/2011 02:47:31 PM Jan Schneider Assigned to Jan Schneider
State ⇒ Resolved
 
10/31/2011 02:46:57 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Fix encoding of CDATA (horde@chk.cksf.de, Bug #10692).

  2 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/9746cb7f2b309b39bb86100b79fb94d58d7e3dec
10/30/2011 10:37:58 AM horde (at) chk (dot) cksf (dot) de Comment #1
Priority ⇒ 3. High
New Attachment: XmlOutput.php.patch Download
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ Funambol: Lexical error
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Hi!

The sync with Funambol clients fails for calendar and contact data on 
Android and Thunderbird. I'm using the latest pear versions.
Horde 4.0.10
Turba 3.0.9
Kronolith 3.0.10
Horde_SyncMl 1.0.5

Funambol throws this error:

Fri Oct 28 10:15:20 MESZ 2011 [ERROR] [ContactSyncSource] Cannot save 
contact(com.funambol.common.pim.vcard.TokenMgrError: Lexical error at 
line 1, column 1.  Encountered: "<" (60), after : "")
Fri Oct 28 10:15:20 MESZ 2011 [ERROR] 
com.funambol.common.pim.vcard.TokenMgrError: Lexical error at line 1, 
column 1.  Encountered: "<" (60), after : ""

It is caused by an HTML encoding of the CDATA tag: 
<Data>&lt;![CDATA[BEGIN:VCARD

The attached file patches framework/SyncMl/lib/Horde/SyncMl/XmlOutput.php .


Saved Queries