Diff for /books/www/corrections.html between versions 1.104 and 1.107

version 1.104, 2003/03/23 18:54:49 version 1.107, 2003/03/24 20:42:03
Line 226  for (var i=0; i<unchex.length; i++) Line 226  for (var i=0; i<unchex.length; i++)
         var sample = Components.classes["@mozilla.org/sound;1"].createInstance();           var sample = Components.classes["@mozilla.org/sound;1"].createInstance(); 
         sample = sample.QueryInterface(Components.interfaces.nsISound);           sample = sample.QueryInterface(Components.interfaces.nsISound); 
         const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";          const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";
        const SND_I_URL           = "nsIURL";        const SND_I_URL = "nsIURL";
        const SND_URL             = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);        const SND_URL = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);
        var url                   = new SND_URL();        var url = new SND_URL();
        url.spec                  = 'http://jslib.mozdev.org/test.wav';        url.spec = 'http://jslib.mozdev.org/test.wav';
         sample.play(url);          sample.play(url);
       }         } 
     </script>        </script>  
Line 266  initInstall(                      // ini Line 266  initInstall(                      // ini
   "0.0.1",                        // version of install    "0.0.1",                        // version of install
   1);                             // flags - an optional argument,     1);                             // flags - an optional argument, 
                                   // reserved for future use                                    // reserved for future use
f = getFolder("Chrome");          // specify a target directoryf = getFolder("Chrome");    // specify a target directory
 setPackageFolder(f);  setPackageFolder(f);
addFile(myFile);                  // add software to the installationaddFile(myFile);            // add software to the installation
 registerChrome(  registerChrome(
   PACKAGE | DELAYED_CHROME,       // chrome switch (i.e., type)    PACKAGE | DELAYED_CHROME,       // chrome switch (i.e., type)
   getFolder("Chrome","xFly.jar"), // destination of package    getFolder("Chrome","xFly.jar"), // destination of package
   "content/xFly/");               // location of manifest in package    "content/xFly/");               // location of manifest in package
if (0 == getLastError( ))         // if there have been no errors:if (0 == getLastError( ))       // if there have been no errors:
  performInstall( );              // install "xfly.jar"  performInstall( );            // install "xfly.jar"
else                              // otherwiseelse                          // otherwise
  cancelInstall( );               // cancel the installation.  cancelInstall( );             // cancel the installation.
 </xmp>  </xmp>
   
 </ul>  </ul>
Line 451  install:: $(TARGETS) Line 451  install:: $(TARGETS)
 <li>On page 257: In Example 9-7  <li>On page 257: In Example 9-7
   
 <xmp class="broken">  <xmp class="broken">
        <triple subject="?listitem"  <triple subject="?listitem"
                predicate=" http://xfly.mozdev.org/fly-rdf#location"        predicate=" http://xfly.mozdev.org/fly-rdf#location"
                object="?location"/>        object="?location"/>
 </xmp>  </xmp>
   
 has been changed to  has been changed to
   
 <xmp class="fixed">  <xmp class="fixed">
         <triple subject="?listitem"          <triple subject="?listitem"
                predicate="fly-location#location"        predicate="fly-location#location"
                 object="?location"/>                  object="?location"/>
 </xmp>  </xmp>
   
Line 471  has been changed to Line 471  has been changed to
   
 <ul>  <ul>
   
   <li>One page 268, In Example 10-1 '<b class="broken">&lt;rdf:Description about="http://my.jar-of-flies.com"&gt;</b>' has been
   changed to '<b class="fixed">&lt;rdf:Description about="urn:root"&gt;</b>'<br><br>
   
   <li>On page 279: '<b class="broken">The URI is also accessible as a datasource property:</b>' has been
   changed to '<b class="fixed">The URI, such as rdf:someName, is also accessible as a datasource
   property:</b>'<br><br>
   
 <li>On page 280: In Table 10-3 '<b class="broken">Mostly used for retrieving, datasources, resources, and literals.</b>' has been  <li>On page 280: In Table 10-3 '<b class="broken">Mostly used for retrieving, datasources, resources, and literals.</b>' has been
 changed to '<b class="fixed">Mostly used for retrieving datasources, resources, and literals.</b>'<br><br>  changed to '<b class="fixed">Mostly used for retrieving datasources, resources, and literals.</b>'<br><br>
   
   <li>On page 288:
   
   <xmp class="broken">
   'containerUtils = Components.classes['@mozilla.org/rdf/container-utils;1'
   getService(Components.interfaces.nsIRDFContainerUtils);'
   </xmp>
   
   has been changed to:
   
   <xmp class="fixed">
   'containerUtils = Components.classes['@mozilla.org/rdf/container-utils;1'].
   getService(Components.interfaces.nsIRDFContainerUtils);'
   </xmp>
   
 <li>On page 297: '<b class="broken">http://www.jslib.mozdev.org</b>' has been changed to '<b  <li>On page 297: '<b class="broken">http://www.jslib.mozdev.org</b>' has been changed to '<b
 class="fixed">http://jslib.mozdev.org</b>'<br><br>  class="fixed">http://jslib.mozdev.org</b>'<br><br>
   
   <li>On page 297, Example 10-14: '<b class="broken">// if(del)gRDF.removeSeq('types',false);</b>' has been deleted. Not
   needed in this example.<br><br>
   
 </ul>  </ul>
   
   
Line 549  and the simplification of instruction 2) Line 573  and the simplification of instruction 2)
 2. Log in using the password "anonymous":  2. Log in using the password "anonymous":
 </xmp>  </xmp>
   
 <br/><br/>  
 Windows Instructions (p368)<br/>  Windows Instructions (p368)<br/>
 <xmp class="broken">  <xmp class="broken">
 1. Set the CVSROOT variable:   1. Set the CVSROOT variable: 

Removed from v.1.104  
changed lines
  Added in v.1.107


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>