<?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>4369</bug_id>
          
          <creation_ts>2007-03-06 10:44:39 +0000</creation_ts>
          <short_desc>Assertions within restriction or extension</short_desc>
          <delta_ts>2007-04-10 08:09:49 +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>PC</rep_platform>
          <op_sys>Windows XP</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="Michael Kay">mike</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>14324</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-03-06 10:44:39 +0000</bug_when>
    <thetext>The property tableau for complexType (3.4.2) says:

{assertions}
A sequence whose members are Assertions drawn from the following sources, in order:
1 The {assertions} of the {base type definition}.
2 Assertions corresponding to all the &lt;assert&gt; and &lt;report&gt; element information items among the [children], if any, in order.

This ignores the &lt;assert&gt; and &lt;report&gt; elements defined as children of an &lt;extension&gt; or &lt;restriction&gt; within a &lt;simpleContent&gt; or &lt;complexContent&gt;. There doesn&apos;t seem to be anywhere else that says that these contribute to the {assertions} of the containing complex type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14575</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2007-03-28 21:07:54 +0000</bug_when>
    <thetext>WG discussed on 2007-03-28.  Issue is correct.  Expect as part of the next &quot;Tree-trimming proposal (M)&quot;.  </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14686</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-04-09 19:57:21 +0000</bug_when>
    <thetext>The schema working group adopted a proposal which takes into account &lt;assertion&gt; elements specified under &lt;restriction&gt; and &lt;extension&gt;. Accordingly, I&apos;m marking this bug as &quot;fixed&quot;.

Michael, as the originator of this issue, please indicate whether the resolution is satisfactory to you, by either closing this bug, or reopening it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>