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 2829 - RQ-156 Outlaw complex types with mixed simple content (mixedSimple)
Summary: RQ-156 Outlaw complex types with mixed simple content (mixedSimple)
Status: RESOLVED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: Other All
: P4 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: important, easy
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2006-02-11 00:57 UTC by C. M. Sperberg-McQueen
Modified: 2006-10-21 20:48 UTC (History)
0 users

See Also:


Attachments

Description C. M. Sperberg-McQueen 2006-02-11 00:57:49 UTC
This issue was originally reported by Asir Vedamuthu / XML Schema WG.

This was originally R-156
(http://www.w3.org/2001/05/xmlschema-rec-comments.html#pfiMixedSimple).

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

Response from Henry:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0141.html

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.
Comment 1 C. M. Sperberg-McQueen 2006-09-23 03:34:53 UTC
The Working Group discussed this issue on 22 September 2006 and
concluded that yes, we should make the combination described
invalid.

The editors are to prepare a wording proposal in line with the
suggestions made in the email thread referred to in the
description.
Comment 2 C. M. Sperberg-McQueen 2006-10-14 14:32:58 UTC
A proposal to resolve this issue has been placed at 
http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.cleanup-1.200610.html
(member-only link) for review and action by the WG.
Comment 3 C. M. Sperberg-McQueen 2006-10-21 20:16:22 UTC
The proposal mentioned in comment #2 has been approved by the WG
and integrated into the status-quo text of the spec.  It should be
included in due course in the next public working draft.