<?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>5924</bug_id>
          
          <creation_ts>2008-07-31 20:35:20 +0000</creation_ts>
          <short_desc>Are violations of &quot;Schema Component Rules&quot; conformance or validity issues?</short_desc>
          <delta_ts>2008-12-09 18:05:04 +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>LC</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></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="Kumar Pandit">kumarp</assigned_to>
          <cc>david_whiteman</cc>
    
    <cc>kumarp</cc>
    
    <cc>pratul.dublish</cc>
          
          <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>21420</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2008-07-31 20:35:20 +0000</bug_when>
    <thetext>For example, section 5.2.1.1 forbids

  &lt;sml:key ref=&quot;name1&quot; name=&quot;name2&quot;/&gt;

(&quot;ref&quot; and &quot;name&quot; can&apos;t both be present.)

Should this make the containing SML model nonconformant or invalid?

Given that &quot;bad&quot; schema documents makes the model nonconformant, the same should be true for SML constraints, but the conformance rules in section 8 doesn&apos;t seem to cover this case. The closest is in the &quot;validity&quot; list:

&quot;3. Each document in the model MUST satisfy all normative statements in this specification that pertain to model documents.&quot;

We need to add part of this to the conformance requirement list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21474</commentid>
    <comment_count>1</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-08-07 19:56:03 +0000</bug_when>
    <thetext>
Resolution in 8/7 call

Add a statement in the conformance section that a model should be declared as NON CONFORMANT if it violates the rules in  sections labeled &quot;schema component rules&quot; and possibly &quot;schema constraint construction&quot;.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21529</commentid>
    <comment_count>2</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-08-13 19:45:18 +0000</bug_when>
    <thetext>Added the following item in the list of model conformance rules in section 8. Conformance Criteria.

4. All schemas assembled from the XML Schema documents in the model&apos;s definition documents MUST satisfy the conditions expressed in sections 5.1.1.1 SML Constraint Contruction, 5.1.1.2 Schema Component Rules, 5.1.2.1 SML Constraint Contruction, 5.1.2.2 Schema Component Rules, 5.2.1.1 SML Constraint Contruction, 5.2.1.2 Schema Component Rules, 6.3.1 SML Rule Contruction and 6.3.2 Schema Component Rules. </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21531</commentid>
    <comment_count>3</comment_count>
    <who name="David Whiteman">david_whiteman</who>
    <bug_when>2008-08-13 20:38:13 +0000</bug_when>
    <thetext>Kumar, you might want to make sure &quot;Construction&quot; is spelled correctly in each instance of that wording change. :-)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21543</commentid>
    <comment_count>4</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-08-14 04:29:16 +0000</bug_when>
    <thetext>Good catch! fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>21561</commentid>
    <comment_count>5</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-08-14 18:44:43 +0000</bug_when>
    <thetext>resolution on 8/14: fix accepted.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>