W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2001

Three editorial errors in the Primer

From: Priscilla Walmsley <priscilla@walmsley.com>
Date: Fri, 19 Oct 2001 12:49:54 -0400
To: <www-xml-schema-comments@w3.org>
Message-ID: <004c01c158be$6559f7b0$b92a6420@xmls>
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"/>)

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:08:54 UTC