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: Fri, 29 Jul 2011 13:50:02 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1QmnRy-0001bn-O4@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13186

--- Comment #4 from Mukul Gandhi <gandhi.mukul@gmail.com> 2011-07-29 13:50:02 UTC ---
(In reply to comment #2)
> 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
> hope.
> 
> Also, we noticed in discussion that 3.16.3 needs to have references to
> xs:assert replaced with references to xs:assertion.

Thanks, Michael. The modified wordings proposed by you look nice to me as well.

-- 
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 Friday, 29 July 2011 13:50:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 29 July 2011 13:50:09 GMT