XML schema draft comments:

Regarding the draft at
http://www.w3.org/TR/2004/PER-xmlschema-2-20040318/:

Section 4.3.5.3 says:

   Schema Representation Constraint: Multiple enumerations

   If multiple <enumeration> element information items appear as
   [children] of a <simpleType> the {value} of the enumeration
   component should be the set of all such [value]s.

Is that really a schema representation constraint?  (It doesn't
seem like a constraint on the representations of schema.  It
is a constraint on how implementations must behave, but so is
the whole schema specification.)

Relatedly, should it really say "should" (as opposed to something
like "is")?


Isn't it really part of the definition of the {value} property
and shouldn't it specify that the {value} property _is_ the
specified set?


Actually, what does "all such [value]s" refer to?

The substring "[value]" is linked to the XML Information Set
specification's "Attribute Information Item" section, but the
only possible antecedent for "such values" in that sentence as
written seems to be "multiple <enumeration> element information
items."  So does it refer to element data or attribute data?

Should it really refer to the set of values implied by all such
element information items?


Daniel

Received on Thursday, 10 June 2004 18:08:01 UTC