.NET & XML

Errata for .NET & XML

Submit your own errata for this product.


The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question Note Update



Version Location Description Submitted By Date Submitted Date Corrected
Printed
Page xii
code block under the "Running the Examples" section

Remove the - writer.WriteEndElement (); line from that code.

Anonymous   
Printed
Page ix
3rd paragraph

"...not only does it use XML internally, but it also maks its XML tools..." should read: "...not only does it use XML internally, but it also makes its XML tools..."

Anonymous   
Printed
Page 23
Example 2-2

Need "using System.Text;" for StringBuilder

Note from the Author or Editor:
On page 23, Example 2-2 should begin as follows: using System; using System.IO; using System.Text; using System.Xml;

Anonymous   
PDF
Page 33, 51, 53, 108, 209, 269, 304-5, 307, 311, 326, 328-9.
throughout

There are code examples that run off the right-hand side of the page.

Note from the Author or Editor:
On each of the pages cited, the text should be wrapped. The wrapping was acceptable in the print edition, not sure what to do to change it in the PDF.

Anonymous  Aug 22, 2014 
Printed
Page 46
example 3-3, 2/3 of way down page

// Write another attribute writer.WriteStartAttribute"name", "foo"); should be: // Write another attribute writer.WriteStartAttribute("name", "foo");

Anonymous   
PDF
Page 53
code block in mid-page

There is a line in the code block of the middle of the page that runs off the page into the margin.

Note from the Author or Editor:
Change the following line: writer.WriteString("<this contains some characters XML wouldn't like & so the XmlWriter replaces them"); to the following two lines: writer.WriteString("<this contains some characters XML wouldn't like & so the XmlWriter " + "replaces them"); The same change needs to be made in the code listing on p 51.

Anonymous  Mar 26, 2014 
Printed
Page 64
3rd code snippet, 4th line

if (readState == ReadState.Interactive || node == null) { should be: if (readState != ReadState.Interactive || node == null) {

Anonymous   
Printed
Page 90
Example 5-1

The call to HasFeature NOW HAS the parameters (feature, version) instead of (feature, null).

Anonymous    May 01, 2004
Printed
Page 116
code example for "Creating an XPathNavigator"

Document.Load(filename); NOW READS: document.Load(filename);

Anonymous    May 01, 2004