<?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>2335</bug_id>
          
          <creation_ts>2005-10-10 14:11:51 +0000</creation_ts>
          <short_desc>Add {context} property to type definitions</short_desc>
          <delta_ts>2006-03-15 01:30:42 +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>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.w3.org/XML/Group/2005/09/xml-schema-ftf-minutes#d0e159</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>2337</dependson>
    
    <dependson>2338</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry S. Thompson">ht</reporter>
          <assigned_to name="Henry S. Thompson">ht</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>6669</commentid>
    <comment_count>0</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2005-10-10 14:12:01 +0000</bug_when>
    <thetext>Back off from {scope} for S and C TDs, use {context} instead, has a value 
(always a component) iff TD is anonymous.  By cases (see minutes ref):

element types: the element declaration. 
attribute types: the attribute declaration. 
union members: the union. 
list items: the list. 
simple content type (B in xmpl below) of complex types: the complex type (C). 
base types (A in xmpl below) of simple content type of complex types: the 
content type (B) of the complex type. (This could be viewed as an instance of 
anonymous base of simple restricted type (below).) 
type O redefined by type N: O.context set to N. 
anonymous base (X) of simple restricted type: the restricted type (Y)

&lt;complexType name=&quot;C&quot;&gt;
  &lt;simpleContent&gt;
    &lt;restriction base=&quot;my:D&quot;&gt;
      &lt;simpleType&gt;&lt;!--* call this simple type A *--&gt;
        ...
      &lt;/simpleType&gt;
      ... facets ...
      &lt;!--* apply these facets to A; call the result B *--&gt;
    &lt;/restriction&gt;
  &lt;/simpleContent&gt;
&lt;/complexType&gt;

&lt;simpleType name=&quot;Y&quot;&gt;
 &lt;restriction&gt;
  &lt;simpleType&gt; &lt;!-- call this X --&gt;
   &lt;list itemType=&quot;xs:string&quot;/&gt;
  &lt;/simpleType&gt;
  ... facets ...
 &lt;/restriction&gt;
&lt;/simpleType&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8127</commentid>
    <comment_count>1</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2006-02-06 19:01:16 +0000</bug_when>
    <thetext>The minutes have used &apos;context types&apos; where &apos;content types&apos; is meant, I think

The prose above corrects all the resulting bugs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>8728</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-03-15 01:30:42 +0000</bug_when>
    <thetext>The two part-specific items having been resolved (2337 in 
October 2005, 2338 on 10 February 2006), this umbrella issue
can now be closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>