XQuery from the Experts Errata

This page contains updated information on the Addison-Wesley publication, XQuery from the Experts: A Guide to the W3C XML Query Language. It lists typos that have been discovered in the book, as well as (as soon as I get around to it!) changes which have been made to the XQuery specification since the book was published in September, 2003.

The book was written collaboratively by the following members of the W3C Query Working Group:

  • Don Chamberlin
  • Denise Draper
  • Mary Fernandez
  • Michael Kay
  • Jonathan Robie
  • Michael Rys
  • Jerome Simeon
  • Jim Tivy, and
  • Phil Wadler

Typos and corrections

Chapter 1: "XQuery: A Guided Tour"

XML snippet, page 7
The underscore indicating the first character in the <title> text node should be under the "T" in "TCP" rather than the "I" in "IP".
same snippet, page 7
The first character in the comment node should be underscored similarly.
XQuery snippet at the bottom of page 18
The text says that the snippet returns both the title and price of each book. It only returns the title.
First paragraph under "Comparison Operators", page 41
The phrase "with a corresponding a value comparison operator" should read, "with a corresponding value comparison operator".
XML snippet at top of page 45
The three instances of element content "True" should read as "true" (lowercase) (the XML Schema lexical representation of a "true" boolean value).
Single-line query at the top of page 51
Typographer's quotes surrounding "books.xml" should be straight double quotes.
Listing 1.23, page 57
The prefix b should be removed from the two qname instances, b:author and b:title.
Listing 1.24, page 58
The variables $l and $f should be replaced by $a/last and $a/first, respectively.
Table 1.5, page 67
The sequence type declaration element(creator) is declared to be of type person, not xs:string.
Same table, page 67
The double quote following the last entry, currency should be a period.
Second paragraph, page 73
The first two sentences, beginning "The case clause tests to see ...", should be removed, since this content is repeated in the following paragraph.
Listing 1.33, page 74
The preceding text promises that this example will illustrate the use of "treat as" but doesn't. (We'll provide an updated example shortly.)


Howard Katz
created 4sept03
updated 23feb04