rem: url + "&fmt-out=text%2Fcalendar", utf8ToIcal, 
add: url + "&fmt-out=text%2Fcalendar", stringToIcal, 
context: calWcapCalendar.prototype.getItems = function(    itemFilter, maxResult, rangeStart, rangeEnd, iListener ){    // assure DATETIMEs:    if (rangeStart != null && rangeStart.isDate) {        rangeStart = rangeStart.clone();        rangeStart.isDate = false;    }    if (rangeEnd != null && rangeEnd.isDate) {        rangeEnd = rangeEnd.clone();        rangeEnd.isDate = false;    }    var zRangeStart = getIcalUTC(rangeStart);    var zRangeEnd = getIcalUTC(rangeEnd);    this.log( "getItems():\n\titemFilter=" + itemFilter +              ",\n\tmaxResult=" + maxResult +              ",\n\trangeStart=" + zRangeStart +              ",\n\trangeEnd=" + zRangeEnd );    try {        var url = this.getCommandUrl( "fetchcomponents_by_range" );        url += ("&calid=" + encodeURIComponent(this.calId));        url += "&compressed=1&recurring=1";                switch (itemFilter &                Components.interfaces.calICalendar.ITEM_FILTER_TYPE_ALL) {        case Components.interfaces.calICalendar.ITEM_FILTER_TYPE_TODO:            url += "&component-type=todo"; break;        case Components.interfaces.calICalendar.ITEM_FILTER_TYPE_EVENT:            url += "&component-type=event"; break;        }                if (maxResult > 0)            url += ("&maxResult=" + maxResult);        // xxx todo: correctly normalized dates to zulu time?        url += ("&dtstart=" + zRangeStart);        url += ("&dtend=" + zRangeEnd);                var this_ = this;        this.issueAsyncRequest(            url + "&fmt-out=text%2Fcalendar", utf8ToIcal,            function( wcapResponse ) {                this_.getItems_resp( wcapResponse,                                     itemFilter, maxResult,                                     rangeStart, rangeEnd, iListener );            } );    }    catch (exc) {        if (iListener != null) {            iListener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.GET,                null, exc );        }        this.notifyError( exc );    }    this.log( "getItems() returning." );};
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/318a30b964defb311d9cf0464a3354a583a7e8f0/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js