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

Errata E1-22

From: <sandygao@ca.ibm.com>
Date: Thu, 5 Dec 2002 18:51:29 -0500
To: www-xml-schema-comments@w3.org
Message-ID: <OF0DDFEC8C.60B628AE-ON85256C86.0081F5E7@torolab.ibm.com>

The following is added to the constraint "Schema Component Constraint:
Derivation Valid (Restriction, Simple)":

"↑all of the following must be true: The {final} of the {item type definition} must not contain list. The {facets} must be empty."

I'm OK with, which was moved from "Simple Type Definition
Properties Correct ". (It wasn't not properly stated there).

But for, I'm not sure whether it's correct. For list types, I think
the "whiteSpace" facet is fixed to "collapse", then {facets} can't be empty

One may argue that "whiteSpace" facet is only used when deriving a list
type from another list type, but not when you construct a new list from an
item type. But when such *new list* type is used for validation, we always
assume that it has a whiteSpace facet, and use such facet for validation.
Isn't this a contradiction?

Changing to something like:

" The {facets} must only contain the whiteSpace facet with the value

would make everybody happy.

Sandy Gao
Software Developer, IBM Canada
(1-905) 413-3255
Received on Thursday, 5 December 2002 18:52:51 UTC

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