[sync] Horde's XML_WBXML package
Karsten Fourmont
fourmont at gmx.de
Fri Jul 28 07:27:37 PDT 2006
Hi,
thanks for the patch. I'll have a look at where to put it in best.
I started playing around with the SyncML Conformance Test Suite. Got at
least a few green lights (didn't do wbxml though), but even more crashes
of the test suite :-(
This whole XML/DTD capitalization, and "devinf or devinf1.0" issue is
still a mystery to me...
Cheers,
Karsten
isa wrote:
> I fixed this problem by adding the following code after line 166 in method
> function writeStringTable($strings, $charset, $stringTable) in
> framework/XML_WBXML/WBXML/Encoder.php,v 1.45:
>
> $str = preg_replace('/syncml/', 'SYNCML', $str, 1);
> $str = preg_replace('/syncml/', 'SyncML', $str, 1);
> $str = preg_replace('/dtd/', 'DTD', $str, 1);
> $str = preg_replace('/en/', 'EN', $str, 1);
> $str = preg_replace('/devinf/', 'DevInf', $str, 1);
> $str = trim($str);
>
> write_file("strefter.txt", $str);
>
> At least the SyncML Conformance Test Suit is happy now :) Hope this might be
> helpful to somebody.
More information about the sync
mailing list