<?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>4643</bug_id>
          
          <creation_ts>2007-06-13 16:37:11 +0000</creation_ts>
          <short_desc>inheritance of identity constraints through substitution - align with XSD?</short_desc>
          <delta_ts>2007-10-16 21:31:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SML</product>
          <component>Core</component>
          <version>unspecified</version>
          <rep_platform>Macintosh</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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>5063</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="SML Working Group discussion list">public-sml</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15420</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-06-13 16:37:11 +0000</bug_when>
    <thetext>In section 3.5, the draft spec says 

    If an SML identity constraint is specified for an element 
    declaration E, then this constraint is applicable to all 
    instances of E in a model, i.e., the identity constraint 
    MUST be satisfied for each instance of E  in a valid model

XSD 1.0 does not impose any analogous constraint on identity
constraints within single documents. 

Should we align with XSD by removing this constraint?

Should we align with XSD by persuading the XML Schema Working
Group to impose an analogous constraint in XSD?

Or should we decide that on this point we believe alignment
with XSD is not desirable or necessary?  

Some thinking and research will be needed, and discussion with
the Schema WG.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16027</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-08-02 19:21:49 +0000</bug_when>
    <thetext>The quotation seems to be out of synch with the summary of the issue.  On
the call of 2 August, the WG concluded that the passage we had intended
to point to was a different bullet item in what is now section 3.4 on
Identity Constraints.

    Each SML identity constraint that is specified for a global element 
    declaration G MUST be treated as if it is specified by default 
    for all global element declarations SG   that are in the substitution 
    group hierarchy whose head is G</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16757</commentid>
    <comment_count>2</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2007-09-24 04:22:20 +0000</bug_when>
    <thetext>Constraints are an integral part of a type definition or element declaration in SML and can not be removed/overridden by derived types or element declarations in a substitution group. We should NOT align with XSD 1.0 here, but we can consider making a request to the schema working group to consider aligning XSD 1.1 with SML.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>