rem: url + "&fmt-out=text%2Fxml", utf8ToXml, 
add: url + "&fmt-out=text%2Fxml", stringToXml, 
context: calWcapCalendar.prototype.deleteItem = function( item, iListener ){    this.log( "deleteItem() call: " + item.id );    if (this.readOnly)        throw Components.interfaces.calIErrors.CAL_IS_READONLY;    try {        if (item.id == null)            throw new Error("no item id!");                var url = this.getCommandUrl(            isEvent(item) ? "deleteevents_by_id" : "deletetodos_by_id" );        url += ("&calid=" + encodeURIComponent(this.calId));        url += ("&uid=" + item.id);                var rid = item.recurrenceId;        if (rid == null) {            if (item != item.parentItem)                throw new Error("proxy has no recurrenceId!");            url += "&mod=4&rid=0"; // deleting THIS AND ALL        }        else {            rid = getIcalUTC(rid);            if (item == item.parentItem)                this.notifyError( ">>>>>>>>>> non-proxy with rid: " + rid );            url += ("&mod=1&rid=" + rid); // delete THIS INSTANCE        }                var this_ = this;        this.issueAsyncRequest(            url + "&fmt-out=text%2Fxml", utf8ToXml,            function( wcapResponse ) {                this_.deleteItem_resp( wcapResponse, item, iListener );            } );    }    catch (exc) {        if (iListener != null) {            iListener.onOperationComplete(                this.superCalendar, Components.results.NS_ERROR_FAILURE,                Components.interfaces.calIOperationListener.DELETE,                item.id, exc );        }        this.notifyError( exc );    }    this.log( "deleteItem() returning." );};
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/99eaaaada9e6f5f2a2f7fac9237c6e41ecf1eef7/calWcapCalendarItems.js/buggy/calendar/providers/wcap/calWcapCalendarItems.js