[sync] Horde's XML_WBXML package

isa isa at milcom.dk
Fri Jul 28 07:04:31 PDT 2006


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.
-- 
View this message in context: http://www.nabble.com/Horde%27s-XML_WBXML-package-tf1979206.html#a5540285
Sent from the Horde - Sync forum at Nabble.com.



More information about the sync mailing list