Java & XML, 2nd Edition by Brett Mclaughlin This errata page lists errors outstanding in the most recent printing. If you have technical questions or error reports, you can send them to booktech@oreilly.com. Please specify the printing date of your copy. This page was updated August 1, 2005. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification Confirmed errors: (31) First paragraph of XSLT, 5th line; For example, XSLT is instrumental is generating HTML or WML (Wireless Markup Language) from and XML document. should be: For example, XSLT is instrumental in generating HTML or WML (Wireless Markup Language) from and XML document. {116-119} Code samples; The code samples on page 116-119 appear to always check for the NodeList (of child nodes) being null. This is unnecessary, as the DOM Level 2 specifications state that in the event of a Node having no children, the childNodes attribute is a NodeList containing no nodes. (as opposed to returning null) AUTHOR: Note that this is only unnecessary if you have a DOM Level 2 implementation. Since many legacy parsers and applications still use DOM Level 1, and since earlier versions of JAXP (often still in use) also use DOM Level 1, it is unsafe, in the author's opinion, to make assumptions about a DOM Level 2 specification. Therefore, the cost of a single null-check is negligible in relation to ensuring that this code works with /any/ DOM implementation.