W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2011

[Bug 13186] editorial improvement: Constraints on XML Representations of Complex Type Definitions

From: <bugzilla@jessica.w3.org>
Date: Thu, 28 Jul 2011 16:21:51 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1QmTLL-0002RL-MD@jessica.w3.org>

--- Comment #2 from C. M. Sperberg-McQueen <cmsmcq@blackmesatech.com> 2011-07-28 16:21:50 UTC ---
One problem with explicit lists of what can appear more than once is that they
are so easy to get wrong (as this issue illustrates); another is that once the
list is correct, the organizing principle may be unclear (which seems to me to
be illustrated again here).  So I propose a different change in wording to make
the underlying principle clearer.  How about

  2 If <restriction> is present under <simpleContent>, then no
  facet-specifying element other than xs:pattern, xs:enumeration,
  or xs:assertion may appear more than once.

This amounts to the same thing but is slightly clearer on what's going on, I

Also, we noticed in discussion that 3.16.3 needs to have references to
xs:assert replaced with references to xs:assertion.

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 Thursday, 28 July 2011 16:21:57 UTC

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