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

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: 
                     15: <li>In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed
                     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.18      david      26: <li>In Chapter 1 (p 7) 'applications web built using XPFE' has been
                     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.18      david      37: <li>In Chapter 2 (p 12) '&lt;window
                     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: 
                     42: <li>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br>
                     43: 
                     44: <li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been
                     45: changed to 'selecting File > Open File from'<br><br>
                     46: 
                     47: <li>In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed
                     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.19      david      58: <li>In Chapter 3 (p 40) '&lt;toolbarbutton id="printBtn" label="Open"
                     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.29      petejc     68:   <li>(p 113) 
                     69:     <xmp>
                     70:       Changed footnote link to
                     71:         http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
                     72:     </xmp>
                     73:   </li>
1.30      petejc     74:   <li>(p 120) 
1.26      petejc     75:     <xmp>
                     76:       dump(l+'\n');
1.27      petejc     77:     has been changed to
                     78:       dump(len+'\n');
1.26      petejc     79:     </xmp>
1.27      petejc     80:   </li>
                     81:   <li>(p 137) 
                     82:     <xmp>
                     83:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
1.26      petejc     84:     has been changed to
1.27      petejc     85:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
1.26      petejc     86:     </xmp>
                     87:   </li>
1.31      petejc     88:   <li>(p 140) 
                     89:     <xmp>
                     90:        Changed load(`chrome/jslib/jslib.js');
                     91:        To load('chrome/jslib/jslib.js');
                     92:     </xmp>
                     93:   </li>
1.26      petejc     94: </ul>
                     95: 
1.24      petejc     96: <a name="ch08">
                     97: <p><b>Chapter 8</b>
                     98: 
                     99: <ul>
1.37      petejc    100: <li>(p 211) Root Interfaces<br/>
1.36      petejc    101:   Changed 2nd sentence QueryInterace to QueryInterface.
                    102: </li>
1.33      petejc    103: <li>(p 222) Example 8-4
                    104:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
                    105: </li>
                    106: <li>(p 222) Example 8-4
                    107:             <xmp>            
                    108:               this.myCID,
                    109:               "My JS Component",
                    110:               this.myProgID, fileSpec,
                    111:               location, true, true,
                    112:               type);
                    113:             </xmp>            
                    114:             Should be
                    115:             <xmp>            
                    116:               compMgr.registerComponentWithType(
                    117:               this.myCID,
                    118:               "My JS Component",
                    119:               this.myProgID, fileSpec,
                    120:               location, true, true,
                    121:               type);
                    122:             </xmp>            
1.32      petejc    123: </li>
1.35      petejc    124: <li>(p 222, p 223) Example 8-4
1.34      petejc    125:             <xmp>            
                    126:               Removed double lines
                    127:               dump(" ***** Registering: Simple JS component! ****\n");
                    128:               and
                    129:               if (outer != null)
                    130:             </xmp>            
                    131: </li>
1.32      petejc    132: <li>(p 239) Example 8-15 has been changed to <br/>
1.25      petejc    133: 
                    134: <xmp>
1.24      petejc    135: DEPTH         = ../../..
                    136: topsrcdir     = ../../..
                    137: srcdir        = .
                    138: VPATH         = .
                    139: 
                    140: include $(DEPTH)/config/autoconf.mk
                    141: 
                    142: MODULE        = xpcom
                    143: XPIDL_MODULE  = simple
                    144: LIBRARY_NAME  = simple
                    145: IS_COMPONENT  = 1
                    146: MODULE_NAME   = nsSimpleModule
                    147: REQUIRES      = string \
                    148:                 xpcom \
                    149:                 $(NULL)
                    150: 
                    151: 
                    152: CPPSRCS   =              \
                    153:     nsSimple.cpp         \
                    154:     nsSimpleModule.cpp   \
                    155:     $(NULL)
                    156: 
                    157: XPIDLSRCS = nsISimple.idl
                    158: 
                    159: include $(topsrcdir)/config/config.mk
                    160: 
                    161: LIBS    +=        \
                    162:     $(XPCOM_LIBS) \
                    163:     $(NSPR_LIBS)  \
                    164:     $(NULL)
                    165: 
                    166: include $(topsrcdir)/config/rules.mk
                    167: 
                    168: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    169: 
                    170: install:: $(TARGETS)
1.25      petejc    171: </xmp>
1.24      petejc    172: </li>
                    173: 
                    174: </ul>
                    175: 
1.20      david     176: 
                    177: <a name="ch10">
                    178: <p><b>Chapter 10</b>
                    179: 
                    180: <ul>
1.18      david     181: <li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
1.24      petejc    182: to 'http://jslib.mozdev.org'<br><br></li>
1.20      david     183: </ul>
                    184: 
                    185: 
                    186: <a name="ch12">
                    187: <p><b>Chapter 12</b>
                    188: 
                    189: <ul>
                    190: 
1.18      david     191: <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
                    192: Signatures' section is being written with drafts available on <a
                    193: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.38    ! petejc    194: </li>
1.20      david     195: 
1.38    ! petejc    196: <li>(p 336) Use of backtics instead of single quote.
        !           197: <xmp>
        !           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: Should be:
        !           202:  print '  <checkbox label="%s" />' % form['op1'].value
        !           203:  print '  <checkbox label="%s" />' % form['op2'].value
        !           204:    print '  <checkbox label="%s" />' % form['op3'].value
        !           205: </xmp>
        !           206: </li>
1.20      david     207: </ul>
                    208: 
                    209: 
                    210: <a name="appa">
                    211: <p><b>Appendix A</b>
                    212: 
                    213: <ul>
1.18      david     214: 
                    215: <li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
                    216: changed to 'http://www.mozilla.org/source.html'<br><br>
                    217: 
1.1       david     218: </ul>
1.2       david     219: 
1.3       david     220: <br><br>
                    221: 
1.23      petejc    222: <!-- ?php require(NOTES); ? -->
                    223: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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