rem: debug("getItems(): querying CalDAV server for events\n"); 
add: debug("getItems(): querying CalDAV server for events: " + queryString + "\n"); 
context:     getItems: function (aItemFilter, aCount, aRangeStart, aRangeEnd, aListener)    {        if (!aListener)            return;        filterTypes = 0;        if ( aItemFilter & calICalendar.ITEM_FILTER_TYPE_TODO ) {            filterTypes++;            debug("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 ) {            debug("Multiple simultaneous filter types not supported by " +                  "this provider.\n");            throw Components.results.NS_ERROR_FAILURE;        }        // this is our basic report xml        var C = new Namespace("urn:ietf:params:xml:ns:caldav")        default xml namespace = C;        var queryXml =           <calendar-query>            <calendar-data/>            <filter>              <comp-filter name="VCALENDAR">                <comp-filter/>              </comp-filter>            </filter>          </calendar-query>;        switch (aItemFilter & calICalendar.ITEM_FILTER_TYPE_ALL) {        case calICalendar.ITEM_FILTER_TYPE_EVENT:            queryXml[0].C::filter.C::["comp-filter"]                .C::["comp-filter"].@name="VEVENT";            break;        case calICalendar.ITEM_FILTER_TYPE_TODO:            queryXml[0].C::filter.C::["comp-filter"]                .C::["comp-filter"].@name="VTODO";            break;        case calICalendar.ITEM_FILTER_TYPE_JOURNAL:            break;            queryXml[0].C::filter.C::["comp-filter"]                .C::["comp-filter"].@name="VJOURNAL";        default:            debug("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 comp-filter            queryXml[0].C::filter.C::["comp-filter"]                .C::["comp-filter"].appendChild(rangeXml);        }        // XXX aItemFilter        var queryString = xmlHeader + queryXml.toXMLString();        debug("getItems(): querying CalDAV server for events\n");        var occurrences = (aItemFilter &                           calICalendar.ITEM_FILTER_CLASS_OCCURRENCES) != 0;         this.reportInternal(queryString, occurrences, aRangeStart, aRangeEnd,                            aCount, aListener);    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/e34303bba010fbcbe0e561303e82fd46487e0227/calDavCalendar.js/clean/calendar/providers/caldav/calDavCalendar.js