--- books/www/corrections.html 2002/11/01 19:38:59 1.19
+++ books/www/corrections.html 2002/12/05 13:59:34 1.38
@@ -1,18 +1,39 @@
Corrections
-
This page contains a list of corrections made to the original text of
+
This page contains a list of corrections to be made in the next printing of
the book. If you have suggestions for changes or find errors in the text,
-feel free to post a note below or send a message to the bug with a report of the problem, post a message in the User Notes
+section on the chapter pages, or send a message to the reviewers@mozdev.org mailing list.
+
+
+Preface
+
- In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed
to 'http://www.oreilly.com/catalog/mozilla/'
+
+
+
+
+Chapter 1
+
+
+
- In Chapter 1 (p 7) 'applications web built using XPFE' has been
changed to 'applications built using XPFE'
+
+
+
+
+Chapter 2
+
+
+
- In Chapter 2 (p 12) '<window
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
/>' has been changed to '<window
@@ -26,16 +47,170 @@ changed to 'selecting File > Open File f
- In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed
to 'CenterWindowOnScreen( ) function'
+
+
+
+
+Chapter 3
+
+
+
- In Chapter 3 (p 40) '<toolbarbutton id="printBtn" label="Open"
oncommand="doPrint( );" />' has been changed to '<toolbarbutton
id="printBtn" label="Print" oncommand="doPrint( );" >'
+
+
+
+Chapter 5
+
+
+ - (p 113)
+
+ Changed footnote link to
+ http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
+
+
+ - (p 120)
+
+ dump(l+'\n');
+ has been changed to
+ dump(len+'\n');
+
+
+ - (p 137)
+
+ var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
+ has been changed to
+ var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
+
+
+ - (p 140)
+
+ Changed load(`chrome/jslib/jslib.js');
+ To load('chrome/jslib/jslib.js');
+
+
+
+
+
+Chapter 8
+
+
+- (p 211) Root Interfaces
+ Changed 2nd sentence QueryInterace to QueryInterface.
+
+- (p 222) Example 8-4
+
mName: "a default value"
should be mName: "a default value",
+
+- (p 222) Example 8-4
+
+ this.myCID,
+ "My JS Component",
+ this.myProgID, fileSpec,
+ location, true, true,
+ type);
+
+ Should be
+
+ compMgr.registerComponentWithType(
+ this.myCID,
+ "My JS Component",
+ this.myProgID, fileSpec,
+ location, true, true,
+ type);
+
+
+- (p 222, p 223) Example 8-4
+
+ Removed double lines
+ dump(" ***** Registering: Simple JS component! ****\n");
+ and
+ if (outer != null)
+
+
+- (p 239) Example 8-15 has been changed to
+
+
+DEPTH = ../../..
+topsrcdir = ../../..
+srcdir = .
+VPATH = .
+
+include $(DEPTH)/config/autoconf.mk
+
+MODULE = xpcom
+XPIDL_MODULE = simple
+LIBRARY_NAME = simple
+IS_COMPONENT = 1
+MODULE_NAME = nsSimpleModule
+REQUIRES = string \
+ xpcom \
+ $(NULL)
+
+
+CPPSRCS = \
+ nsSimple.cpp \
+ nsSimpleModule.cpp \
+ $(NULL)
+
+XPIDLSRCS = nsISimple.idl
+
+include $(topsrcdir)/config/config.mk
+
+LIBS += \
+ $(XPCOM_LIBS) \
+ $(NSPR_LIBS) \
+ $(NULL)
+
+include $(topsrcdir)/config/rules.mk
+
+EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
+
+install:: $(TARGETS)
+
+
+
+
+
+
+
+Chapter 10
+
+
- In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
-to 'http://jslib.mozdev.org'
+to 'http://jslib.mozdev.org'
+
+
+
+
+Chapter 12
+
+
- In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
Signatures' section is being written with drafts available on http://certs.mozdev.org
+
+
+- (p 336) Use of backtics instead of single quote.
+
+ print ` ' % form['op1'].value
+ print ` ' % form['op2'].value
+ print ` ' % form['op3'].value
+Should be:
+ print ' ' % form['op1'].value
+ print ' ' % form['op2'].value
+ print ' ' % form['op3'].value
+
+
+
+
+
+
+Appendix A
+
+
- In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
changed to 'http://www.mozilla.org/source.html'
@@ -44,6 +219,5 @@ changed to 'http://www.mozilla.org/sourc
-
-
-
+
+