There is one consistent problem in this chapter.
The xs prefix is used, but the xsd prefix
is declared. For example, at the top of p. 257:
<?xml version="1.0"?>
<xs:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xs:element name="name" type="xs:string"/>
</xs:schema>
should be
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="name" type="xs:string"/>
</xs:schema>
This also occurs on p. 263, 264 (twice), 266, 274, 278, 279 (twice).
p. 258: In the last paragraph before the Annotation heading the sentence "When writing schema declarations, it is an error to declare two things of the same type at the same scope" should read "When writing schema declarations, it is an error to declare two of the same kinds of things (e.g. two elements, two attributes, or two types) with the same name at the same scope."
p. 272: In the last code fragment, change maxInclusive to minInclusive and
maxExclusive and minExclusive. The fragment should be:
<xsd:minInclusive value="1"/>
<xsd:minExclusive value="0"/>
p. 272: In the last paragraph, change minExclusive and minInclusive to
maxExclusive and maxInclusive. The second sentence in the paragraph should read, "For example, if maxExclusive were set to 5.0, the equivalent maxInclusive value would require an infinite number of nines to the right of the decimal point (4.99999...)."