<?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>5518</bug_id>
          
          <creation_ts>2008-03-04 16:39:26 +0000</creation_ts>
          <short_desc>Why are rules allowed on both element declaration and type definitions</short_desc>
          <delta_ts>2008-05-14 04:46:47 +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 NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>externalComments, resolved, reviewerSatisfied</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Pratul Dublish">pratul.dublish</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          <cc>ht</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>19266</commentid>
    <comment_count>0</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-03-04 16:39:26 +0000</bug_when>
    <thetext>Comment#1 in http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2008Mar/0001.html 

It seems unwise to go beyond what XML Schema 1.1 will support in the
way of assertions:  is allowing &apos;rules&apos; as part of both element
declarations and type definitions really necessary?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19467</commentid>
    <comment_count>1</comment_count>
    <who name="Pratul Dublish">pratul.dublish</who>
    <bug_when>2008-03-13 22:58:40 +0000</bug_when>
    <thetext>SML allows Schematron constraints (aka rules) to be specified on both element declarations and type definitions to support  different schema design patterns (see http://www.xfront.com/GlobalVersusLocal.html ).  

SML&apos;s support for rules on element declaration is purely additive to XML Schema 1.1 assertions, so there would be no conflict if a future version of SML was dependent on Schema 1.1. SML 1.1 has no depdendency on Schema 1.1
  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>19634</commentid>
    <comment_count>2</comment_count>
    <who name="Kumar Pandit">kumarp</who>
    <bug_when>2008-03-27 19:31:58 +0000</bug_when>
    <thetext>resolution in conf call on 3/27: 

The SML working group believes that there is good reason for allowing assertions on both elements and types.  Our experience is that some vocabulary designers work in a type-centered way, some in an element-centered way, and many in ways spread out along the scale.  Restriction of functionality to types, and not allowing it on elements, favors one style of vocabulary design over the others; we are not certain, however, that type-centered design is the only style that needs to be supported.

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 current LC text and let us know if you agree with this resolution of your issue, by adding a comment to the issue record. Or, if you do not agree with this resolution, please add a comment explaining why. 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>19882</commentid>
    <comment_count>3</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2008-04-18 13:54:29 +0000</bug_when>
    <thetext>I think this is a mistake, but will not push it further</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>