XQuery

Errata for XQuery

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
Safari Books Online
web
Example 12-4

In example 12-4, the "strings:get-norm-length" function is declared with a return type of "xs:string?" when in fact the correct return type is "xs:integer?" (or at least, some numeric type). This error is also present in the examples on datypic.com. It doesn't have much of an impact on the didactic value of the book but it shows as an error in Oxygen, which I'm using as I go through the book.

Note from the Author or Editor:
The reader is correct. The return type of the "strings:get-norm-length" function should be xs:integer.

Anonymous  Aug 29, 2019 
Printed, PDF, ePub, Mobi, Safari Books Online
Page 103
2nd sort example

The second sort example is missing the quotation marks around document.xml.

Priscilla Walmsley
Priscilla Walmsley
 
Aug 15, 2017  Sep 15, 2017
Printed, PDF, ePub, Mobi, Safari Books Online
Page 265
Example 16-3

The correct variable names are $err:line-number and $err:column-number rather than $err:line and $err:column.

Priscilla Walmsley
Priscilla Walmsley
 
Aug 15, 2017  Sep 15, 2017
Printed
Page 362
4th text paragraph

The example binds the partial function application to the variable $first-two-characters, but the text refers to the variable $f.

Note from the Author or Editor:
All references to $f in the cited paragraph should say $first-two-characters instead.

Matthew Halverson  Feb 01, 2016  Sep 15, 2017
Printed, PDF, ePub, Mobi, Safari Books Online
Page 510
Table of format-number examples

The second to last example should say 12.346e2 instead of 12.569e2.

Priscilla Walmsley
Priscilla Walmsley
 
Aug 15, 2017  Sep 15, 2017