Annotation of books/www/corrections.html, revision 1.41

1.1       david       1: <p><b>Corrections</b>
                      2: 
1.21      david       3: <p>This page contains a list of corrections to be made in the next printing of
1.19      david       4: the book.  If you have suggestions for changes or find errors in the text,
1.22      david       5: feel free open a <a href="bugs.html">bug</a> with a report of the problem, post a message in the User Notes 
                      6: section on the chapter pages, or send a message to the <a
1.19      david       7: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
1.1       david       8: 
1.20      david       9: 
                     10: <a name="preface">
                     11: <p><b>Preface</b>
                     12: 
1.1       david      13: <ul>
1.18      david      14: 
1.39      david      15: <li>On page xiv: 'http://www.oreilly.com/mozilla/' has been changed
1.18      david      16: to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
                     17: 
1.20      david      18: </ul>
                     19: 
                     20: 
                     21: <a name="ch1">
                     22: <p><b>Chapter 1</b>
                     23: 
                     24: <ul>
                     25: 
1.39      david      26: <li>On page 7: 'applications web built using XPFE' has been
1.18      david      27: changed to 'applications built using XPFE'<br><br>
                     28: 
1.20      david      29: </ul>
                     30: 
                     31: 
                     32: <a name="ch2">
                     33: <p><b>Chapter 2</b>
                     34: 
                     35: <ul>
                     36: 
1.39      david      37: <li>On page 12: '&lt;window
1.18      david      38: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
                     39: /&gt;' has been changed to '&lt;window
                     40: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;'<br><br>
                     41: 
1.39      david      42: <li>On page 14: Removed an extra '>' from example code<br><br>
1.18      david      43: 
1.39      david      44: <li>On page 17: 'selecting File > Open File > from' has been
1.18      david      45: changed to 'selecting File > Open File from'<br><br>
                     46: 
1.39      david      47: <li>On page 20: 'CenterWindoOnScreen( ) function' has been changed
1.18      david      48: to 'CenterWindowOnScreen( ) function'<br><br>
1.19      david      49: 
1.20      david      50: </ul>
                     51: 
                     52: 
                     53: <a name="ch3">
                     54: <p><b>Chapter 3</b>
                     55: 
                     56: <ul>
                     57: 
1.39      david      58: <li>On page 40: '&lt;toolbarbutton id="printBtn" label="Open"
1.19      david      59: oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
                     60: id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>
1.18      david      61: 
1.20      david      62: </ul>
                     63: 
1.26      petejc     64: <a name="ch5">
                     65: <p><b>Chapter 5</b>
                     66: 
                     67: <ul>
1.40      david      68: 
                     69: <li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
                     70: 'http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html' to
                     71: 'http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'<br><br>
                     72: 
1.41    ! david      73: <li>On page 120: '&ltscript.' has been changed to &lt;script&gt;'<br><br>
        !            74: 
        !            75: <li>On page 120: 'dump(l+'\n');' has been changed to 'dump(len+'\n');'<br><br>
        !            76: 
        !            77: <li>(p 137) 
1.27      petejc     78:     <xmp>
                     79:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
1.26      petejc     80:     has been changed to
1.27      petejc     81:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
1.26      petejc     82:     </xmp>
                     83:   </li>
1.31      petejc     84:   <li>(p 140) 
                     85:     <xmp>
                     86:        Changed load(`chrome/jslib/jslib.js');
                     87:        To load('chrome/jslib/jslib.js');
                     88:     </xmp>
                     89:   </li>
1.26      petejc     90: </ul>
                     91: 
1.24      petejc     92: <a name="ch08">
                     93: <p><b>Chapter 8</b>
                     94: 
                     95: <ul>
1.37      petejc     96: <li>(p 211) Root Interfaces<br/>
1.36      petejc     97:   Changed 2nd sentence QueryInterace to QueryInterface.
                     98: </li>
1.33      petejc     99: <li>(p 222) Example 8-4
                    100:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
                    101: </li>
                    102: <li>(p 222) Example 8-4
                    103:             <xmp>            
                    104:               this.myCID,
                    105:               "My JS Component",
                    106:               this.myProgID, fileSpec,
                    107:               location, true, true,
                    108:               type);
                    109:             </xmp>            
                    110:             Should be
                    111:             <xmp>            
                    112:               compMgr.registerComponentWithType(
                    113:               this.myCID,
                    114:               "My JS Component",
                    115:               this.myProgID, fileSpec,
                    116:               location, true, true,
                    117:               type);
                    118:             </xmp>            
1.32      petejc    119: </li>
1.35      petejc    120: <li>(p 222, p 223) Example 8-4
1.34      petejc    121:             <xmp>            
                    122:               Removed double lines
                    123:               dump(" ***** Registering: Simple JS component! ****\n");
                    124:               and
                    125:               if (outer != null)
                    126:             </xmp>            
                    127: </li>
1.32      petejc    128: <li>(p 239) Example 8-15 has been changed to <br/>
1.25      petejc    129: 
                    130: <xmp>
1.24      petejc    131: DEPTH         = ../../..
                    132: topsrcdir     = ../../..
                    133: srcdir        = .
                    134: VPATH         = .
                    135: 
                    136: include $(DEPTH)/config/autoconf.mk
                    137: 
                    138: MODULE        = xpcom
                    139: XPIDL_MODULE  = simple
                    140: LIBRARY_NAME  = simple
                    141: IS_COMPONENT  = 1
                    142: MODULE_NAME   = nsSimpleModule
                    143: REQUIRES      = string \
                    144:                 xpcom \
                    145:                 $(NULL)
                    146: 
                    147: 
                    148: CPPSRCS   =              \
                    149:     nsSimple.cpp         \
                    150:     nsSimpleModule.cpp   \
                    151:     $(NULL)
                    152: 
                    153: XPIDLSRCS = nsISimple.idl
                    154: 
                    155: include $(topsrcdir)/config/config.mk
                    156: 
                    157: LIBS    +=        \
                    158:     $(XPCOM_LIBS) \
                    159:     $(NSPR_LIBS)  \
                    160:     $(NULL)
                    161: 
                    162: include $(topsrcdir)/config/rules.mk
                    163: 
                    164: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    165: 
                    166: install:: $(TARGETS)
1.25      petejc    167: </xmp>
1.24      petejc    168: </li>
                    169: 
                    170: </ul>
                    171: 
1.20      david     172: 
                    173: <a name="ch10">
                    174: <p><b>Chapter 10</b>
                    175: 
                    176: <ul>
1.39      david     177: <li>On page 297: 'http://www.jslib.mozdev.org' has been changed
1.24      petejc    178: to 'http://jslib.mozdev.org'<br><br></li>
1.20      david     179: </ul>
                    180: 
                    181: 
                    182: <a name="ch12">
                    183: <p><b>Chapter 12</b>
                    184: 
                    185: <ul>
                    186: 
1.39      david     187: <li>On page 339: A new 'Certificate Authorities and Digital
1.18      david     188: Signatures' section is being written with drafts available on <a
                    189: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.38      petejc    190: </li>
1.20      david     191: 
1.38      petejc    192: <li>(p 336) Use of backtics instead of single quote.
                    193: <xmp>
                    194:  print `  <checkbox label="%s" />' % form['op1'].value
                    195:  print `  <checkbox label="%s" />' % form['op2'].value
                    196:    print `  <checkbox label="%s" />' % form['op3'].value
                    197: Should be:
                    198:  print '  <checkbox label="%s" />' % form['op1'].value
                    199:  print '  <checkbox label="%s" />' % form['op2'].value
                    200:    print '  <checkbox label="%s" />' % form['op3'].value
                    201: </xmp>
                    202: </li>
1.20      david     203: </ul>
                    204: 
                    205: 
                    206: <a name="appa">
                    207: <p><b>Appendix A</b>
                    208: 
                    209: <ul>
1.18      david     210: 
1.39      david     211: <li>On page 365: 'http://www.mozilla.org/source.tml' has been
1.18      david     212: changed to 'http://www.mozilla.org/source.html'<br><br>
                    213: 
1.1       david     214: </ul>
1.2       david     215: 
1.3       david     216: <br><br>
                    217: 
1.23      petejc    218: <!-- ?php require(NOTES); ? -->
                    219: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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