This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2147 - R-156: Question about mixed="true" and simpleContent
Summary: R-156: Question about mixed="true" and simpleContent
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Henry S. Thompson
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 16:44 UTC by Sandy Gao
Modified: 2009-04-21 19:25 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-12 16:44:41 UTC
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
Comment 1 Sandy Gao 2005-09-12 16:45:32 UTC
Response from Henry:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0141.html

Resolution:
The WG discussed this issue at the Sept. 13 telecon, and agreed to add 
a "warning" about this now (2nd edition), with the intent that constraints will 
be added to 1.1. HT to draft erratum. 

Proposed text:
http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2002Oct/att-0225/01-R-
161etc.html 

Reviewed/approved at the Oct. 25 telecon. E1-37 added.