rem: <icalcomp-filter name="VCALENDAR"> <icalcomp-filter/> </icalcomp-filter> 
add: <comp-filter name="VCALENDAR"> <comp-filter/> </comp-filter> 
context:     getItems: function (aItemFilter, aCount, aRangeStart, aRangeEnd, aListener)    {        if (!aListener)            return;        filterTypes = 0;        if ( aItemFilter & calICalendar.ITEM_FILTER_TYPE_TODO ) {            filterTypes++;            dump("getItems called with TODO filter\n");        }        if ( aItemFilter & calICalendar.ITEM_FILTER_TYPE_EVENT ) {            filterTypes++;        }        if ( aItemFilter & calICalendar.ITEM_FILTER_TYPE_JOURNAL ) {            filterTypes++;        }        if ( filterTypes > 1 ) {            dump("Multiple simultaneous filter types not supported by " +                  "this provider.\n");            throw Components.results.NS_ERROR_FAILURE;        }        // this is our basic report xml        // XXX get rid of vevent filter?        var C = new Namespace("urn:ietf:params:xml:ns:caldav")        default xml namespace = C;        var queryXml = <calendar-query>                         <calendar-query-result/>                         <filter>                           <icalcomp-filter name="VCALENDAR">                             <icalcomp-filter/>                           </icalcomp-filter>                         </filter>                       </calendar-query>;        switch (aItemFilter & calICalendar.ITEM_FILTER_TYPE_ALL) {        case calICalendar.ITEM_FILTER_TYPE_EVENT:            queryXml[0].C::filter.C::["icalcomp-filter"]                .C::["icalcomp-filter"].@name="VEVENT";            break;        case calICalendar.ITEM_FILTER_TYPE_TODO:            queryXml[0].C::filter.C::["icalcomp-filter"]                .C::["icalcomp-filter"].@name="VTODO";            break;        case calICalendar.ITEM_FILTER_TYPE_JOURNAL:            break;            queryXml[0].C::filter.C::["icalcomp-filter"]                .C::["icalcomp-filter"].@name="VJOURNAL";        default:            dump("No item types specified\n");            // XXX should we just quietly call back the completion method?            throw NS_ERROR_FAILURE;        }        // if a time range has been specified, do the appropriate restriction.        // XXX express "end of time" in caldav by leaving off "start", "end"        if (aRangeStart && aRangeStart.isValid &&             aRangeEnd && aRangeEnd.isValid) {            var rangeXml = <time-range start={aRangeStart.icalString}                                       end={aRangeEnd.icalString}/>;            // append the time-range as a child of our innermost             // icalcomp-filter            queryXml[0].C::filter.C::["icalcomp-filter"]                .C::["icalcomp-filter"].appendChild(rangeXml);        }        // XXX aItemFilter        var queryString = queryXml.toXMLString();        dump("queryString = " + queryString + "\n");        var occurrences = (aItemFilter &                           calICalendar.ITEM_FILTER_CLASS_OCCURRENCES) != 0;         this.reportInternal(queryString, occurrences, aRangeStart, aRangeEnd, aCount, aListener);    },
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6ce112157c454edeef096f5d8a49c9d2478d31c0/calDavCalendar.js/clean/calendar/providers/caldav/calDavCalendar.js