<?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>2337</bug_id>
          
          <creation_ts>2005-10-10 15:50:12 +0000</creation_ts>
          <short_desc>Add {context} property to simple type definition in Datatypes</short_desc>
          <delta_ts>2008-03-05 16:12:38 +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>Datatypes: XSD Part 2</component>
          <version>1.1 only</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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>
          
          <blocked>2335</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Henry S. Thompson">ht</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>6671</commentid>
    <comment_count>0</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2005-10-10 15:50:15 +0000</bug_when>
    <thetext> </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6926</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-10-27 16:13:07 +0000</bug_when>
    <thetext>Discussed at 2005-10-21 telecon [1]. A few amendments were proposed and 
accepted by the WG.

Resolution: Proposal accepted unanimously as amended.

[1] http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2005Oct/0019.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7406</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-12 20:14:45 +0000</bug_when>
    <thetext>There appears to me to be an error in the text approved by the WG at
its meeting of 21 October.  The proposal acted on there reads in part

    The {context} property is only relevant for anonymous type
    definitions, for which its value is the component in which this
    type definition appears as the value of a property, e.g. {item
    type definition} or {base type definition}.

But there are some anonymous type definitions which will not have a
{context} property, namely definitions shadowed by a redefinition.
Such definitions have no name, and thus would seem to qualify as
anonymous, but we agreed in Edinburgh that they would not acquire a
context property, indeed that no global / top-level components would
have a context property.

I believe the paragraph would be correct if it read

    The {context} property is only relevant for type definitions local
    to some other definition or declaration, for which its value is
    the component in which this type definition appears as the value
    of a property, e.g. {item type definition} or {base type
    definition}.  

This has the disadvantage of being clunkier: we are punished for
our failure to define simple terminology for global vs. local
components.
(I would change the status of the issue to reopened, except that
it is already in that status, for reasons which don&apos;t seem to have
been recorded.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7407</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-12 20:28:26 +0000</bug_when>
    <thetext>Closer examination of the Edinburgh minutes shows my memory was at fault:
they say clearly that redefined components will get a {context}
property pointing to their redefiner.  The state of affairs I was
remembering was an earlier stage of the proposal finally adopted.

The text approved by the WG does not appear to me to be 
particularly clear, and it assumes silently that only one other 
component will ever have an anonymous type definition as the value 
of one of its properties, which seems error prone.  But it is not, 
as far as I can tell, in error.


</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7510</commentid>
    <comment_count>4</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2005-12-17 01:51:52 +0000</bug_when>
    <thetext>Integrated into status quo documents, 8 December 2005.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19306</commentid>
    <comment_count>5</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2008-03-05 16:12:38 +0000</bug_when>
    <thetext>Although no formal request for closure was made, since the reporter as a member
of the WG was aware of the resolution of this bug over two years ago, I&apos;m
marking it closed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>