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 |
New Attachment: client_10_conv.xml
steps to generate complete SyncML debugging information. And please
include the .wbxml files too.
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.
[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
Fix determination of protocol version (
Bug #10229).1 files changed, 3 insertions(+), 3 deletions(-)
http://git.horde.org/horde-git/-/commit/2dddde98b7ea1b775958cf996999d2df78d5162c
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.
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?
New Attachment: client_10[1].wbxml
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"]
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
New Attachment: client_10.wbxml
New Attachment: horde.log
steps to generate complete SyncML debugging information. And please
include the .wbxml files too.
?jmlq1.2rSyncML/1.2e170[1nWhttp://bebop.bsdlabs.com/rpc.phpgW002376ac356a-357988025657565VpeoNZGb64Ssyncml:auth-basicOcGVvOmduYWRlcmIwZL20000U4000000kSK1ZSapplication/vnd.syncml-devinf+wbxmlTnW./devinf12FK2O200TnWcontactsgW./contactsZEJ20110916T145537ZO20110926T154055ZU4000000FK3O200TnWcalendarvZStext/calendarwTZSsyncml:filtertype-cgiOSINCE&EQ;20100926T154055Z∧BEFORE&EQ;20130826T154055ZgW./eventsZEJ20110916T145537ZO20110926T154055ZU4000000
horde.log attached
State ⇒ Feedback
steps to generate complete SyncML debugging information. And please
include the .wbxml files too.
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.
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
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
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?
State ⇒ Feedback
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
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...
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.
Assigned to Jan Schneider
State ⇒ Resolved
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
lib-version: <DevInf xmlns="syncml:devinf">
horde-version: <DevInf xmlns="syncml:devinf1.0">
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
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
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">