6.0.0-beta1
7/17/25

[#10248] Horde-SyncML encodes XML-Tags
Summary Horde-SyncML encodes XML-Tags
Queue Synchronization
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester q0107 (at) cuba (dot) ionum (dot) ch
Created 06/15/2011 (5146 days ago)
Due
Updated 06/20/2011 (5141 days ago)
Assigned 06/15/2011 (5146 days ago)
Resolved 06/20/2011 (5141 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/20/2011 02:32:48 PM Jan Schneider Comment #6
State ⇒ Not A Bug
Reply to this comment
What's going over the wire is completely irrelevant.
06/19/2011 09:18:23 PM q0107 (at) cuba (dot) ionum (dot) ch Comment #5 Reply to this comment
You still didn't say *where* you are seeing this.
i analysed the data stream through sniffer
06/18/2011 06:47:11 PM Jan Schneider Comment #4 Reply to this comment
You still didn't say *where* you are seeing this.
06/15/2011 12:37:01 PM q0107 (at) cuba (dot) ionum (dot) ch Comment #3 Reply to this comment
Where, when, how?
It seems that horde generally encodes all html-entities (and 
xml-entities), even the syncml output who has content-type 
"application/vnd.syncml+xml". i  browsed through horde-syncml source 
code and found nothing. the bug may be elsewhere ...

i'm programming a syncml-client-framework in perl and it worked with 
horde 3. since i upgraded to horde 4 my xml-parser throws an error.

06/15/2011 11:19:32 AM Jan Schneider Comment #2
Priority ⇒ 1. Low
State ⇒ Feedback
Reply to this comment
Where, when, how?
06/15/2011 10:44:18 AM q0107 (at) cuba (dot) ionum (dot) ch Comment #1
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Horde-SyncML encodes XML-Tags
Queue ⇒ Synchronization
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
XML-Tags are encoded, which causes strict XML parsing to fail

Example:
-- snip ---

END:VEVENT
END:VCALENDAR
]]></Data>
</Item>
</Add>
</Sync>
<Status><CmdID>265</CmdID>

<MsgRef>1</MsgRef>
<CmdRef>7</CmdRef>
<Cmd>Alert</Cmd>
<TargetRef>card</TargetRef>
<SourceRef>card</SourceRef>

<Data>200</Data>

it should look like this:

END:VEVENT
END:VCALENDAR
]]></Data>
</Item>
</Add>
</Sync>
<Status><CmdID>265</CmdID>

<MsgRef>1</MsgRef>
<CmdRef>7</CmdRef>
<Cmd>Alert</Cmd>
<TargetRef>card</TargetRef>
<SourceRef>card</SourceRef>

<Data>200</Data>

Saved Queries