<?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>2197</bug_id>
          
          <creation_ts>2005-09-14 19:03:34 +0000</creation_ts>
          <short_desc>R-205: Question re: mixed on complexType and complexContent</short_desc>
          <delta_ts>2009-04-21 19:21:35 +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.0/1.1 both</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</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>6213</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:03:34 +0000</bug_when>
    <thetext>Is this allowed? (&quot;mixed&quot; appears on both complexType and complexContent.) 


&lt;complexType name=&quot;ct&quot; mixed=&quot;true&quot;&gt;
  &lt;complexContent mixed=&quot;false&quot;&gt;
There doesn&apos;t appear to be any constraint saying it&apos;s not allowed.

Assuming it&apos;s allowed, the mapping rules for complexType complexContent in 2E 
state: 

[Definition:] Let the effective mixed be the appropriate case among the 
following: 
1 If the mixed [attribute] is present on &lt;complexContent&gt; then its actual 
value; 
2 If the mixed [attribute] is present on &lt;complexType&gt; then its actual value; 
3 otherwise false. 
Now both 1 and 2 apply. Which one should be used? (I think the intention is 
that &quot;mixed&quot; on &lt;complexContent&gt; takes precedence. In that case, we at least 
need an &quot;otherwise&quot; in clause 2 above.) 

See
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0039.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6644</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-10-04 20:48:33 +0000</bug_when>
    <thetext>Discussed at 2005-09-23 telecon.

Resolved: Clarification with corrigendum; editor to bring forward wording.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15202</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-05-25 13:40:29 +0000</bug_when>
    <thetext>Discussed at 2007-05-18 telecon. Adopted the following proposal for schema 1.1. (Schema 1.0 may choose to deal with it differently.)

- It&apos;s an error for &quot;mixed&quot; to appear on both &lt;complexType&gt; and &lt;complexContent&gt; with different values.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>