<?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>11219</bug_id>
          
          <creation_ts>2010-11-04 14:30:57 +0000</creation_ts>
          <short_desc>Editorial revision of Element Locally Valid (Element)</short_desc>
          <delta_ts>2011-01-23 16:32:17 +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></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="David Ezell">David_E3</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</cc>
    
    <cc>mike</cc>
          
          <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>42126</commentid>
    <comment_count>0</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2010-11-04 14:30:57 +0000</bug_when>
    <thetext>Clause 4 is in need of a little work.

1) the sentence &quot;That is, the ·instance-specified type definition· ·overrides· the ·selected type definition·.&quot; should be a note under 4.2.

2) the sentence &quot;If an ·instance-specified type definition· exists and ·overrides· the ·selected type definition·, then the ·governing type definition· of E is the ·instance-specified type definition·, otherwise it is the ·selected type definition·.&quot;  should be removed.

3) the note beginning &quot;Note: If an element has an xsi:type ...&quot; should be made less cryptic.

The WG puts this one in the hands of the editors.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42781</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2010-11-25 17:54:33 +0000</bug_when>
    <thetext>Changes 1) and 2) have been made and will show up the next time a
status-quo document is generated.  For change 3), I am inclined to
suggest the following rewording, on which feedback would be welcome:

    If an element has an xsi:type attribute, the type definition
    indicated by that attribute normally takes precedence over the
    ·selected type definition· which would otherwise govern the
    element. If for some reason this does not happen (for example, if
    the xsi:type value does not ·resolve· to a known type definition,
    or if the type definition fails to ·override· the ·selected type
    definition·), then the element is invalid, since it has failed to
    satisfy clause clause 4. In this case, the ·governing type
    definition· of the element is the ·selected type definition· of
    its ·governing element declaration·, and the element is validated
    against that type as described in clause clause 5. The local
    validity of the element with respect to the ·governing type
    definition· is recorded in the [local type validity] property. The
    use of the ·selected type definition· when the ·instance-specified
    type definition· cannot be used allows useful validation to
    proceed in some cases even when the schema is incomplete.

If I hear nothing suggesting other wording or pointing to problems
with this wording, I&apos;ll integrate it into the status-quo document, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42786</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2010-11-26 08:41:14 +0000</bug_when>
    <thetext>Looks good to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44631</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2011-01-23 16:32:17 +0000</bug_when>
    <thetext>The proposal given in comment 1 has now been integrated into the status-quo
documents pointed to from
http://www.w3.org/XML/Group/2004/06/xsd-ed-pointers.html (member-only link).
Accordingly I&apos;m marking this issue resolved.

David, as the chair and representative of the WG, would you please check to 
verify that the changes agreed upon have all been made and then close the
issue?  Thank you.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>