<?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>5004</bug_id>
          
          <creation_ts>2007-09-04 14:53:31 +0000</creation_ts>
          <short_desc>2007-08-30 WD: inconsistency between type keybase of S4S and Section 3.11.3 (icd representation)</short_desc>
          <delta_ts>2008-02-09 09:13: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>Structures: XSD Part 1</component>
          <version>1.1 only</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>S4SD cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paolo Marinelli">pmarinel</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>16355</commentid>
    <comment_count>0</comment_count>
    <who name="Paolo Marinelli">pmarinel</who>
    <bug_when>2007-09-04 14:53:31 +0000</bug_when>
    <thetext>Section 3.11.3 of 2007-08-30 XSDL 1.1 Working Draft states that every &lt;key&gt;, &lt;keyref&gt;, and &lt;unique&gt; element information items of a schema document, must satisfy (among the others) the following condition:

&quot;3 If ref is present, then only id and &lt;annotation&gt; are allowed to appear together with ref.&quot;

Such constraint is incompatible with the content model of type keybase defined within the Schema for Schema documents: 

&lt;xs:complexType name=&quot;keybase&quot;&gt;
 &lt;xs:complexContent&gt;
  &lt;xs:extension base=&quot;xs:annotated&quot;&gt;
   &lt;xs:sequence&gt;
    &lt;xs:element ref=&quot;xs:selector&quot;/&gt;
    &lt;xs:element ref=&quot;xs:field&quot; minOccurs=&quot;1&quot; maxOccurs=&quot;unbounded&quot;/&gt;
   &lt;/xs:sequence&gt;
   &lt;xs:attribute name=&quot;name&quot; type=&quot;xs:NCName&quot;/&gt;
   &lt;xs:attribute name=&quot;ref&quot; type=&quot;xs:QName&quot;/&gt;
   &lt;xs:attribute name=&quot;xpathDefaultNamespace&quot; type=&quot;xs:xpathDefaultNamespace&quot;/&gt;
  &lt;/xs:extension&gt;
 &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
 
which requires the presence of both &lt;selector&gt; and &lt;field&gt;, regardless of the presence of the attribute &quot;ref&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18714</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-04 16:17:23 +0000</bug_when>
    <thetext>In an effort to make better use of Bugzilla, we are going to use the
&apos;severity&apos; field to classify issues by perceived difficulty.  This 
bug is getting severity=minor to reflect the existing whiteboard note
&apos;easy&apos;. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18861</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-08 02:19:48 +0000</bug_when>
    <thetext>A wording proposal including changes for this issue went to the WG
on 7 February 2008:

  http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.consent.200801.html#composition

(member-only link).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18904</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2008-02-08 19:56:01 +0000</bug_when>
    <thetext>The &apos;Structures Omnibus 1&apos; proposal mentioned in an earlier comment
was adopted by the XML Schema Working Group today.

http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.consent.200801.html (member-only link)

The XML Schema WG believes that the changes adopted today resolve this
issue fully.  I&apos;m changing its status accordingly.

The change in status should cause email to be sent to the originator of
this issue, to whom the following request is addressed.

Please review the changes adopted and let us know if you agree with this resolution of your issue, by adding a comment to the issue record and changing the Status of the issue to Closed. Or, if you do not agree with this resolution, please add a comment explaining why. If you wish to appeal the WG&apos;s decision to the Director, then also change the Status of the record to Reopened. If you wish to record your dissent, but do not wish to appeal the decision to the Director, then change the Status of the record to Closed. If we do not hear from you in the next two weeks, we will assume you agree with the WG decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>18950</commentid>
    <comment_count>4</comment_count>
    <who name="Paolo Marinelli">pmarinel</who>
    <bug_when>2008-02-09 09:13:38 +0000</bug_when>
    <thetext>I reviewed the resolution, and I agree with it. I am going to close the issue.

Thank you. 

Paolo</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>