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

[Bug 2147] R-156: Question about mixed="true" and simpleContent

From: <bugzilla@wiggum.w3.org>
Date: Mon, 12 Sep 2005 16:44:41 +0000
To: www-xml-schema-comments@w3.org
Cc:
Message-Id: <E1EErQ9-000533-Df@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=2147

           Summary: R-156: Question about mixed="true" and simpleContent
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 1: Structures
        AssignedTo: ht@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org


Consider:

<complexType name="something" mixed="true">
	<simpleContent>
		<restriction base="string">
		</restriction>
	</simpleContent>
</complexType>
This is a unique combination, a complex type with simple content and mixed 
content type. I believe that this combination is valid per XML Schema 1.0 REC.

Personally, I believe that this combination is invalid and hope this will be 
ruled out explicitly.

See the following for more info:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0127.html
Received on Monday, 12 September 2005 16:44:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:13:09 GMT