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

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

From: <bugzilla@jessica.w3.org>
Date: Sat, 09 Jul 2011 17:23:26 +0000
To: www-xml-schema-comments@w3.org
Message-ID: <bug-13186-703@http.www.w3.org/Bugs/Public/>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=13186

           Summary: editorial improvement: Constraints on XML
                    Representations of Complex Type Definitions
           Product: XML Schema
           Version: 1.1 only
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Structures: XSD Part 1
        AssignedTo: David_E3@VERIFONE.com
        ReportedBy: gandhi.mukul@gmail.com
         QAContact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com


I'm reading the latest editor's draft of the XML Schema 1.1 Structures spec.

In the section, 

3.4.3 Constraints on XML Representations of Complex Type Definitions

it's said:

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, or xs:assert.

This seems to be missing the component xs:assertion in the list. Therefore this
should be something like following, 

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 or xs:assert.


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 Saturday, 9 July 2011 17:23:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 9 July 2011 17:23:29 GMT