<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2829</bug_id>
          
          <creation_ts>2006-02-11 00:57:49 +0000</creation_ts>
          <short_desc>RQ-156 Outlaw complex types with mixed simple content (mixedSimple)</short_desc>
          <delta_ts>2006-10-21 20:48:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.1 only</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, easy</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>8194</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-02-11 00:57:49 +0000</bug_when>
    <thetext>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:

&lt;complexType name=&quot;something&quot; mixed=&quot;true&quot;&gt;
	&lt;simpleContent&gt;
		&lt;restriction base=&quot;string&quot;&gt;
		&lt;/restriction&gt;
	&lt;/simpleContent&gt;
&lt;/complexType&gt;

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 &quot;warning&quot; about this now (2nd edition), with the intent that
constraints will be added to 1.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11976</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-09-23 03:34:53 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12467</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-14 14:32:58 +0000</bug_when>
    <thetext>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.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12565</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-21 20:16:22 +0000</bug_when>
    <thetext>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.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>