Three editorial errors in the Primer

I recently reread the Primer and found three errors that as far as I
remember haven't been reported before:


1. Section 2.3.1 states:  "Several facets can be applied to list types:
length, minLength, maxLength and enumeration."
"pattern" should be added to this sentence.


2. Section 5.1 says "...attribute contains an XPath expression, regions/zip,
that ..."  And later in the section "...whose xpath attribute value,
part/@number, identifies the number attribute of part elements that are
children of the zip elements identified by regions/zip..."

These attribute values need prefixing to correctly identify the qualified
element names (and match the example).
"regions/zip" -> "r:regions/r:zip" (appears twice)
"part/@number" -> "r:part/@number"


3. Section 5.2, 2nd paragraph, says "...the number attribute
(<field>@number</field>) of those elements (<selector>zip/part</selector>)
...."

This should be updated to the current syntax and should have the correct
namespace prefixing, i.e.   "...the number attribute (<field
xpath="@number"/>) of those elements (<selector xpath="r:zip/r:part"/>)
...."



Thanks,
Priscilla
-----------------------------------------------------------
Priscilla Walmsley                   priscilla@walmsley.com
Vitria Technology                     http://www.vitria.com
Author, Definitive XML Schema    (Prentice Hall, Dec. 2001)
-----------------------------------------------------------

Received on Friday, 19 October 2001 12:53:31 UTC