[Bug 11961] Typo in XSD 1.1 part 2 section 4.3.6.3

http://www.w3.org/Bugs/Public/show_bug.cgi?id=11961

Michael Kay <mike@saxonica.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|trivial                     |minor

--- Comment #1 from Michael Kay <mike@saxonica.com> 2011-02-02 16:10:05 UTC ---
While on the subject of the whitespace facet:

(a) in section 4.3.6, in the following Note

Note: For more information on whiteSpace, see the discussion on white space
normalization in Schema Component Details in [XSD 1.1 Part 1: Structures].

it would be helpful to provide a more precise link, specifically to section
3.1.4 in part 1

(b) also in 4.3.6, the clause

for any type ·derived· by ·facet-based restriction· from string the value of
whiteSpace can be any of the three legal values

is not actually true, because the value cannot be "more restrictive" than the
value on the built-in type from which it is (directly) derived

(c) in sections such as 3.4.1.1 (normalizedString) the following phrase appears
in relation to the whitespace facet: "if the value given is at least as
restrictive as the one shown"; however, the whitespace facet is not restrictive
(despite it being categorised as a "constraining facet"), so it's hard to see
how one value can be more restrictive than another; in fact, the rules for
overriding one value with another are given in 4.3.6.4.

In practice most subtypes of xs:string have whiteSpace="collapse", so the
statement that the value may be replaced with another value "if the value given
is at least as restrictive as the one shown" is unhelpful and misleading; the
only value that can appear on a subtype of xs:token, for example, is
"collapse", which is the value that it would effectively have anyway.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 2 February 2011 16:10:09 UTC