<?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>4348</bug_id>
          
          <creation_ts>2007-02-23 19:08:46 +0000</creation_ts>
          <short_desc>Remove single-ID-attribute rule</short_desc>
          <delta_ts>2007-05-02 01:06:14 +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>Macintosh</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="C. M. Sperberg-McQueen">cmsmcq</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>14082</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-02-23 19:08:46 +0000</bug_when>
    <thetext>Like XML Schema 1.0, and like XML DTDs and SGML DTDs before it, XML Schema 1.1
forbids schema authors to declare more than one attribute of an element as
having type ID.

This restriction never made much sense, and it&apos;s currently getting in the way
of users as various as the HTML Working Group and the Web Services Policy
Working Group, as well as anyone else with an existing XML vocabulary with
defined ID attributes who would like to make it possible for authors to use
xml:id in addition to, or instead of, their existing ID attributes.

As we have done in other cases where we have decided not to enforce restrictions
imposed by our predecessor languages, we should add a note mentioning that
declarations with multiple ID attributes can&apos;t be translated into DTD
notation without loss.  

But we should then drop the current restriction and allow multiple
ID attributes on a given element.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14310</commentid>
    <comment_count>1</comment_count>
    <who name="Felix Sasaki">fsasaki</who>
    <bug_when>2007-03-05 04:10:55 +0000</bug_when>
    <thetext>From my experience in the WS Policy WG I can agree with Michael that having no &quot;single-ID-attribute&quot; rule would be very useful. See http://www.w3.org/2007/02/ws-policy.xsd for an example of the need for this functionality: The &lt;Policy&gt; element contains an attribute extension point &lt;xs:anyAttribute namespace=&quot;##any&quot; processContents=&quot;lax&quot;/&gt;, since the specifications needs to allow for Policy identification ( http://www.w3.org/TR/ws-policy/#Policy_Identification ) with xml:id or the wsu:Id attribute. It would be good to get rid of this extension point and just have two attribute declarations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14727</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-04-13 16:56:49 +0000</bug_when>
    <thetext>During the 2007-03 F2F meeting, the working group resolved this issue by approving a proposal that removed the &quot;single-id-attribute&quot; rule. Marking this issue as &quot;fixed&quot; accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14969</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-05-02 01:06:14 +0000</bug_when>
    <thetext>As the originator of this comment, I confirm that I am content
with the resolution adopted by the Working Group.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>