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: Mon, 11 Jul 2011 03:44:30 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1Qg7Q6-0001TL-2p@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13186

--- Comment #1 from Mukul Gandhi <gandhi.mukul@gmail.com> 2011-07-11 03:44:29 UTC ---
I think the text I cited from spec should additionally include, xs:attribute
and xs:attributeGroup as well.

Therefore the XML representation of complexType as cited from the spec, may be
modified to following, 

<proposed>
2 If <restriction> is present under <simpleContent>, then the [children] of
<restriction> must not include any two elements with the same expanded name in
the Schema (xs) namespace, unless that expanded name is one of xs:enumeration,
xs:pattern, xs:assertion, xs:attribute, xs:attributeGroup or xs:assert.
</proposed>

Thanks.

-- 
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 Monday, 11 July 2011 03:44:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 11 July 2011 03:44:36 GMT