rem: node.setAttribute("http: 
context: calendarManager.prototype.addServerDialogResponse = function calMan_addServerDialogResponse( CalendarObject ){   var name = "calendar"+this.rootContainer.getSubNodes().length;           CalendarObject.active = true;   CalendarObject.path = CalendarObject.path.replace( "webcal:", "http:" );   var node = this.rootContainer.addNode(name);   node.setAttribute("http://home.netscape.com/NC-rdf#active", "true");   node.setAttribute("http://home.netscape.com/NC-rdf#username", CalendarObject.username);   node.setAttribute("http://home.netscape.com/NC-rdf#password", CalendarObject.password);   node.setAttribute("http://home.netscape.com/NC-rdf#serverNumber", this.rootContainer.getSubNodes().length);   node.setAttribute("http://home.netscape.com/NC-rdf#name", CalendarObject.name);      var profileFile;   if( CalendarObject.path == "" )   {      //they didn't set a path in the box, that's OK, its not required.      profileFile = this.getProfileDirectory();      profileFile.append("Calendar");      profileFile.append("CalendarDataFile"+this.rootContainer.getSubNodes().length+".ics");      CalendarObject.path = profileFile.path;   }      node.setAttribute("http://home.netscape.com/NC-rdf#path", CalendarObject.remotePath)      if( CalendarObject.remotePath.indexOf( "http://" ) != -1 ||       CalendarObject.remotePath.indexOf( "https://" ) != -1 ||       CalendarObject.remotePath.indexOf( "ftp://" ) != -1 )   {      profileFile = this.getProfileDirectory();      profileFile.append( "Calendar" );      profileFile.append("RemoteCalendar"+this.rootContainer.getSubNodes().length+".ics");      node.setAttribute("http://home.netscape.com/NC-rdf#remote", "true");      node.setAttribute("http://home.netscape.com/NC-rdf#remotePath", CalendarObject.remotePath);      node.setAttribute("http://home.netscape.com/NC-rdf#path", profileFile.path);      node.setAttribute("http://home.netscape.com/NC-rdf#publishAutomatically", CalendarObject.publishAutomatically);      this.retrieveAndSaveRemoteCalendar( node );            dump( "Remote Calendar Number "+this.rootContainer.getSubNodes().length+" Added" );   }   else   {      node.setAttribute("http://home.netscape.com/NC-rdf#remote", "false");            dump( "Calendar Number "+CalendarObject.serverNumber+" Added" );   }      this.rdf.flush();}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/28021833a662c997c70f62d25202d23d7ce4c495/calendarManager.js/buggy/calendar/resources/content/calendarManager.js