W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > April to June 2004

XML schema draft comments: pt.1 3.3.2 either-or wrong, "contains" misleading

From: Daniel Barclay <daniel@fgm.com>
Date: Tue, 15 Jun 2004 15:26:11 -0400
Message-ID: <40CF4D53.7060407@fgm.com>
To: www-xml-schema-comments@w3.org

Regarding the draft at

Section 3.3.2 says:

   ... <element>s within <group> or <complexType> produce
   either particles which contain global element declarations
   (if there's a ref attribute) or local declarations

1. The "either...or" structure seems to be wrong.

    It implies "either (particles with global declarations) or
    (local declarations)".

    It seems that it was meant to imply "either (particles with
    global declarations) or (particles with local declarations)"
    (with several possible refactorings).

2. "Contain" in "contain global element declarations" implies
    that the <element> element creates a global element declaration
    in addition to creating the particle, when (I think) it actually
    creates just a particle that refers to a separately-created
    global element declaration.

Perhaps the wording should be something roughly like:

   ... <element>s within <group> or <complexType> produce
   either particles which refer to separately-declared global
   element declarations (if there's a ref attribute) or
   particles and associated local declarations (otherwise).

Actually, using singular makes things less ambiguous and

   ... an <element> within a <group> or <complexType> produces
   either a particle which refers to a separately-declared global
   element declaration (if there's a ref attribute) or
   a particle and an associated local declaration (otherwise).

Received on Tuesday, 15 June 2004 15:26:42 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:02 UTC