6.0.0-beta1
03.07.25

[#10229] XML_WBXML decodeToString(): xml prolog and dtd is missing, xmlns is wrong
Summary XML_WBXML decodeToString(): xml prolog and dtd is missing, xmlns is wrong
Queue Synchronization
Queue Version Git master
Type Bug
State Resolved
Priority 2. Medium
Owners jan (at) horde (dot) org
Requester news_001 (at) washammwa (dot) de
Created 06/12/2011 (5135 days ago)
Due
Updated 10/07/2011 (5018 days ago)
Assigned 09/24/2011 (5031 days ago)
Resolved 09/27/2011 (5028 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
10/07/2011 12:11:57 PM wolf (at) blazingangles (dot) com Comment #21
New Attachment: client_10_conv.xml Download
Reply to this comment
Please read http://wiki.horde.org/SyncMLProblemReport and follow the 
steps to generate complete SyncML debugging information. And please 
include the .wbxml files too.
The error log produces the following entries:

2011-10-07T14:10:03+02:00 NOTICE: HORDE [imp] Login success for wolf 
(Horde user wolf) [85.82.143.121] to {localhost:143 [imap]} [pid 20977 
on line 176 of "/var/www/webmail/imp/lib/Auth.php"]
2011-10-07T14:10:03+02:00 EMERG: HORDE [horde] Unable to find dtd for 
syncml:devinf [pid 20977 on line 99 of 
"/usr/share/php/Horde/Xml/Wbxml/Encoder.php"]

The WBXML file is added as an attachment. The beginning of the 
devinfo.txt file is as follows:

Horde_SyncMl_DeviceInfo::__set_state(array(
    'VerDTD' => '1.2',
    'Man' => 'Patrick Ohly',
    'Mod' => 'SyncEvolution',
    'OEM' => 'Synthesis AG',
    'FwV' => '1.1',
    'SwV' => '3.4.0.8',
    'HwV' => 'unknown',
    'DevID' => 'syncevolution-142192ea-5a5a-45a0-8b64-72743ed23abb',
    'DevTyp' => 'workstation',
    'DataStores' =>
   array (
     0 =>
     Horde_SyncMl_DataStore::__set_state(array(
        'SourceRef' => './addressbook',
        'DisplayName' => 'addressbook',
        'MaxGUIDSize' => '64',
.......

The error occurs with Horde_Xml_Wbmlx-1.0.2. It works with version 1.0.1.
09/27/2011 10:00:33 AM Git Commit Comment #20 Reply to this comment
Changes have been made in Git for this ticket:

[jan] Complete fix for incorrect syncml:metinf and syncml:devinf URNs 
(Bug #10229).

  1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/78fb536fea7a04edc8994deb45275705bc076226
09/27/2011 10:00:30 AM Git Commit Comment #19 Reply to this comment
Changes have been made in Git for this ticket:

Fix determination of protocol version (Bug #10229).

  1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/2dddde98b7ea1b775958cf996999d2df78d5162c
09/27/2011 10:00:13 AM Jan Schneider State ⇒ Resolved
 
09/27/2011 09:43:45 AM Jan Schneider Deleted Original Message
 
09/27/2011 09:43:32 AM Jan Schneider Deleted Original Message
 
09/26/2011 08:31:42 PM peo (at) intersonic (dot) se Comment #18 Reply to this comment
Well,

got this in the php log

PHP Fatal error:  Call to a member function getVersion() on a 
non-object in /usr/local/share/pear/Horde/Xml/Wbxml/Encoder.php on 
line 98

nothing in the apache error log.
09/26/2011 07:59:08 PM Jan Schneider Comment #17 Reply to this comment
The log doesn't contain anything useful unfortunately, and the client 
message is the same anyway. The problem is not reading the client 
message, like I thought initially, but producing the response message.
Is there anything in the PHP/Apache logs?
09/26/2011 06:29:14 PM peo (at) intersonic (dot) se Comment #16
New Attachment: client_10[1].wbxml
Reply to this comment
Can you try that?
In the Andoid (2.1) Synthesis client I get a "Sync failed: err=500"   
which at least different from before when it just hung indefinitely.

wbxml file attached.

horde.log

2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (hooks.php; 
app: horde) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting trean inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting trean-menu inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting devel inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting chora inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting chora-menu inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting whups inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting luxor inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting jonah inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting office inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting hermes inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting hermes-stopwatch 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting gollem inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting passwd inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting website inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting agora inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting ulaform inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting ansel inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting wicked inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Setting vilma inactive because 
the fileroot does not exist or the application is not configured yet. 
[pid 20351 on line 615 of "/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Connected to the following 
memcache servers:localhost:11211 [pid 20351 on line 140 of 
"/usr/local/share/pear/Horde/Memcache.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (nls.php; app: 
horde) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (hooks.php; 
app: imp) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(conf.php; app: imp) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(prefs.php; app: horde) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Hook prefs_init in 
application horde called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Hook prefs_init in 
application horde called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(prefs.php; app: imp) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Hook prefs_init in 
application imp called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Hook prefs_init in 
application imp called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting trean inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting trean-menu 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting devel inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting chora inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting chora-menu 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting whups inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting luxor inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting jonah inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting office inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting hermes inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting hermes-stopwatch 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting gollem inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting passwd inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting website inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting agora inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting ulaform inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting ansel inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting wicked inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Setting vilma inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(conf.php; app: horde) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(conf.php; app: imp) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [imp] Load config file 
(backends.php; app: imp) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (hooks.php; 
app: turba) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (hooks.php; 
app: nag) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE Load config file (hooks.php; 
app: mnemo) [pid 20351 on line 861 of "/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Horde_Rpc::__construct 
complete [pid 20351 on line 96 of "/usr/local/share/pear/Horde/Rpc.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Backend of class 
Horde_SyncMl_Backend_Horde created [pid 20351 on line 38 of 
"/usr/local/share/pear/Horde/SyncMl/Backend/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Started at 2011-09-26 
20:25:14. Packet logged in /tmp/sync/client_10.wbxml [pid 20351 on 
line 100 of "/usr/local/share/pear/Horde/SyncMl/ContentHandler.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] New session created: 
d3792ff67858d6a95211d195e251a01d [pid 20351 on line 364 of 
"/usr/local/share/pear/Horde/SyncMl/ContentHandler.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Checking authentication 
for user peo [pid 20351 on line 371 of 
"/usr/local/share/pear/Horde/SyncMl/ContentHandler.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] SQL  (0,0028s)
         DELETE FROM horde_histories WHERE object_uid IN 
('peo@logins.failed') [pid 20351 on line 801 of 
"/usr/local/share/pear/Horde/Db/Adapter/Base.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Load config file 
(prefs.php; app: horde) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] SQL  (0,0027s)
         SELECT pref_scope, pref_name, pref_value FROM horde_prefs WHERE
           pref_uid = 'peo' AND pref_scope = 'horde' [pid 20351 on 
line 801 of "/usr/local/share/pear/Horde/Db/Adapter/Base.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] SQL  (0,0028s)
          SELECT a.attname, format_type(a.atttypid, a.atttypmod), d.adsrc,
           a.attnotnull FROM pg_attribute a LEFT JOIN pg_attrdef d ON 
a.attrelid
           = d.adrelid AND a.attnum = d.adnum WHERE a.attrelid =
           'horde_prefs'::regclass AND a.attnum > 0 AND NOT 
a.attisdropped ORDER
           BY a.attnum [pid 20351 on line 801 of 
"/usr/local/share/pear/Horde/Db/Adapter/Base.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Hook prefs_init in 
application horde called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Hook prefs_init in 
application horde called. [pid 20351 on line 1809 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting trean inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting trean-menu 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting devel inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting chora inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting chora-menu 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting whups inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting luxor inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting jonah inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting office inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting hermes inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting 
hermes-stopwatch inactive because the fileroot does not exist or the 
application is not configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting gollem inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting passwd inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting website 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting agora inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting ulaform 
inactive because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting ansel inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting wicked inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Setting vilma inactive 
because the fileroot does not exist or the application is not 
configured yet. [pid 20351 on line 615 of 
"/usr/local/share/pear/Horde/Registry.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Load config file 
(conf.php; app: horde) [pid 20351 on line 861 of 
"/usr/local/share/pear/Horde.php"]
2011-09-26T20:25:14+02:00 DEBUG: HORDE [horde] Max memory usage: 
9175040 bytes [pid 20351 on line 474 of 
"/usr/local/share/pear/Horde/Registry.php"]

09/26/2011 05:34:05 PM Jan Schneider Comment #15 Reply to this comment
Can you try that?
09/26/2011 05:34:00 PM Git Commit Comment #14 Reply to this comment
Changes have been made in Git for this ticket:

Add hack to add version number to another place (Bug #10229).

  1 files changed, 11 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/bc06fce2dd2d2da1f710bacd1ae7a98001ea955d
09/26/2011 04:52:20 PM peo (at) intersonic (dot) se Comment #13
New Attachment: client_10.wbxml
Reply to this comment
The wbxml file
This is a binary file. Please don't paste it, but upload it instead.
09/26/2011 04:40:00 PM Jan Schneider Comment #12 Reply to this comment
The wbxml file
This is a binary file. Please don't paste it, but upload it instead.
09/24/2011 10:56:52 AM Jan Schneider Comment #10
State ⇒ Feedback
Reply to this comment
Please read http://wiki.horde.org/SyncMLProblemReport and follow the 
steps to generate complete SyncML debugging information. And please 
include the .wbxml files too.
09/24/2011 10:35:46 AM wolf (at) blazingangles (dot) com Comment #9 Reply to this comment
The Git version seems to have made it into version 1.0.2 of the Horde 
release. It causes some SyncML clients to complain about DTD missing 
from the device.

Downgrading to Horde_Xml_Wbxml-1.0.1 resolves the problem.
09/19/2011 10:08:16 PM Jan Schneider State ⇒ Resolved
 
09/19/2011 10:07:14 PM Git Commit Comment #8 Reply to this comment
Changes have been made in Git for this ticket:

Fix incorrect syncml:metinf and syncml:devinf URNs correctly (Bug #10229).

  4 files changed, 22 insertions(+), 32 deletions(-)
http://git.horde.org/horde-git/-/commit/67faf528a0498d81745cb614c9551a3068f93d03
09/19/2011 10:07:08 PM Git Commit Comment #7 Reply to this comment
Changes have been made in Git for this ticket:

Revert "Fix incorrect syncml:metinf and syncml:devinf URNs (Bug #10229)."
This reverts commit 04c9633714fbee80d9caf505c4ef01f724a4e839.

  5 files changed, 46 insertions(+), 19 deletions(-)
http://git.horde.org/horde-git/-/commit/eee2315f2e84b88cda4c669070bee9c26ed2745d
07/06/2011 01:55:49 AM Michael Rubinsky Comment #6 Reply to this comment
Looking at this further, I don't see how that is supposed to work 
anyway. In Horde_Xml_Wbxml_DtdManager::__construct() a bunch of calls 
are made to registerDTD using the same exact $uri parameter, e.g.:
<code>
         $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_0, 
'syncml:metinf', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(0));
         $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_1, 
'syncml:metinf', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(1));
         $this->registerDTD(Horde_Xml_Wbxml_Dtd::METINF_1_2, 
'syncml:metinf', new Horde_Xml_Wbxml_Dtd_SyncMlMetInf(2));
</code>

Looking at the registrDTD() method it looks like only the last of 
those registrations is kept:

public function registerDTD($publicIdentifier, $uri, $dtd)
{
     // <snip>
    $this->_strDTDURI[strtolower($uri)] = $dtd;

}

every call with the same $uri will overwrite the previous assignment. 
Am I missing something?


07/06/2011 01:47:20 AM Michael Rubinsky Comment #5
State ⇒ Feedback
Reply to this comment
Changes have been made in Git for this ticket:

Fix incorrect syncml:metinf and syncml:devinf URNs (Bug #10229).

  5 files changed, 19 insertions(+), 46 deletions(-)
http://git.horde.org/horde-git/-/commit/04c9633714fbee80d9caf505c4ef01f724a4e839
This commit breaks syncing with Synthesis SyncML client, at least on 
the android (the only device I am able to test at the moment).

Only changing back the registerDTD() calls in the DTDManager const'r 
back to include the version numbers in the $url parameter fixes 
syncing with the synthesis client. No idea what other demons I'm 
unleashing by doing that though...
06/26/2011 08:46:43 PM news_001 (at) washammwa (dot) de Comment #4 Reply to this comment
I do not know the wbxml standard in detail. But a decoder should bring 
information from one representation 1:1 in a another type of 
representation (without loosing or changing information).

As far as i can see in the binary file the xml prolog is missing (not 
sure if i interpret the file contents in my windows editor right) - in 
that case the wbxml decoder output should not contain the xml prolog - 
i agree.

As far as i can see in the binary file there is a dtd - so i expect to 
have a dtd in the output of the wbxml decoder.
06/13/2011 01:45:22 PM Jan Schneider Comment #3
Assigned to Jan Schneider
State ⇒ Resolved
Reply to this comment
The version from horde xml wbxml decoder returned a xml, where:
1) xml prolog: <?xml version="1.0"?> is missing
2) dtd: <!DOCTYPE DevInf PUBLIC "-//SYNCML//DTD DevInf 1.0//EN" 
"http://www.syncml.org/docs/syncml_devinf_v10_20001207.dtd"> is 
missing
Those are fine, it's explicitly allowed in the SyncML specs to leave them out.
3) the xmlns is wrong:
lib-version: <DevInf xmlns="syncml:devinf">
horde-version: <DevInf xmlns="syncml:devinf1.0">
Fixed.
06/13/2011 01:44:03 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Fix incorrect syncml:metinf and syncml:devinf URNs (Bug #10229).

  5 files changed, 19 insertions(+), 46 deletions(-)
http://git.horde.org/horde-git/-/commit/04c9633714fbee80d9caf505c4ef01f724a4e839
06/12/2011 07:55:07 PM news_001 (at) washammwa (dot) de Comment #1
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ Synchronization
Summary ⇒ XML_WBXML decodeToString(): xml prolog and dtd is missing, xmlns is wrong
Type ⇒ Bug
Priority ⇒ 2. Medium
Reply to this comment
I decoded devinf.wbxml (Git Revision at 2011-04-27 15:11) with
a) horde xml wbxml decoder
b) libwbxml2-0 0.9.2-7 @ a debian lenny

The version from horde xml wbxml decoder returned a xml, where:
1) xml prolog: <?xml version="1.0"?> is missing
2) dtd: <!DOCTYPE DevInf PUBLIC "-//SYNCML//DTD DevInf 1.0//EN" 
"http://www.syncml.org/docs/syncml_devinf_v10_20001207.dtd"> is missing
3) the xmlns is wrong:
lib-version: <DevInf xmlns="syncml:devinf">
horde-version: <DevInf xmlns="syncml:devinf1.0">


Saved Queries