6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
9/23/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10229] XML_WBXML decodeToString(): xml prolog and dtd is missing, xmlns is wrong
*
Your Email Address
*
Spam protection
Enter the letters below:
.___..___..___..__ ._. _/ _/ | | \ | ./__../__. | |__/_|_
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? > >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers