XML Schema by Eric van der Vlist The unconfirmed error reports are from readers. They have not yet been approved or disproved by the author or editor and represent solely the opinion of the reader. Here's a key to the markup: [page-number]: serious technical mistake {page-number}: minor technical mistake : important language/formatting problem (page-number): language change or minor formatting problem ?page-number?: reader question or request for clarification This page was updated July 15, 2004. UNCONFIRMED errors and comments from readers: [27] 5th paragraph: xs:NCName; It is said that xs:NCName is derived from xs:Name, which does not allow names to start with numbers. But the last valid example given here in the sentence "Some valid values for this datatype are Snoopy, CMS, -1950-10-04-10-00, or 1950-10-04. ... surely starts with a number. [30], in the paragraph of xs:hexBinary: A UTF-8 XML header such as: that is encoded as xs:hexBinary would be: 3f3c6d78206c657673726f693d6e3122302e20226e656f636964676e223d54552d4622383e3f The encoded code should be: 3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e [30], in the paragraph of xs:base64Binary: The same header encoded as xs:base64Binary would be: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCg== The encoded code should be: PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4= (33) In section 4.4.2: These datatypes accept several "special" values: positive zero (0), negative zero (-0) (which is greater than positive 0 but less than any negative value), I believe this should be: These datatypes accept several "special" values: positive zero (0), negative zero (-0) (which is less than positive 0 but greater than any negative value), {37} 2d set of examples (invalid examples); The third example "(the month part is out of range)" doesn't seem to be entirely accurate. Although the month part *is* admittedly out of range, the day-of-month is also included, and this is an "xs:gYearMonth" example: days-of-month aren't permitted (at least with my schema checker, MSXML 4.0). {37} Fourth example (invalid values for gYear); The second example, "(the month part is out of range)" includes a month; months couldn't be included in a "gYear" XML datatype (according to my parser, MSXML 4.0). (47) Paragraph 4 starting "This facet is constraining the value space."; The second sentence uses the phrase "lexical and values" ... does this mean "their lexical forms and values" {53} sentence prior to the last paragraph; The sentence says "if enumerations include a timezone" ... "this new datatype" ... "will not validate any time with a timezone." I think it's just a logical bit-flip: the datatype "will not validate any time *without* a timezone." {73} 2nd para from bottom, in description for /i; The text reads, 'all the "letters" plus "-"'. The hyphen (-) is incorrect. It should be an underscore (_). The corrected text should read, 'all the "letters" plus "_"'. verify: http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName [148] xpath="@id|@name"; lines from book xpath="@id|@name" Selects @id or @name ( valid only in xs:field, since attributes are forbidden in xs:selector. the use of the "|", xpath pipe, is not allowed for the field element under the unique/key or keyref. The "|" is only avaliable for the selector. {221}, paragraph 2, line 8: ..., either directly (schema A includes schema B, which includes schema C) "schema C" should be "schema A". (225), paragraph 4, line 3: These are similar to our very first example in Chapter 1, in which all the elements ... "Chapter 1" should be "Chapter 2". (229) first code snippet, diagnostic description and also error message; The content of the element says: "An author should die after her or his death." Should probably say: "An author should die after her or his birth." Also, a few lines down, first line of content within the tag says: "Error, this author is born after her or his birth!" Should read: "Error, this author is born after her or his death!" [318], in the paragraph of xs:hexBinary, Example: A UTF-8 XML header such as: "" encoded would be: "3f3c6d78206c657673726f693d6e3122302e20226e656f636964676e223d54552d4622383e3f" The encoded code should be: "3c3f786d6c2076657273696f6e3d22312e302220656e636f64696e673d225554462d38223f3e" {331}, in the title of xs:short: xs:short 32 bit signed integers. "32 bit" should be "16 bit".