<?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>4680</bug_id>
          
          <creation_ts>2007-06-21 03:43:07 +0000</creation_ts>
          <short_desc>Microsoft Element test elemZ027_c</short_desc>
          <delta_ts>2010-03-26 15:29:56 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 2000</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>disputedTest</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Glavassevich">mrglavas</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15493</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Glavassevich">mrglavas</who>
    <bug_when>2007-06-21 03:43:07 +0000</bug_when>
    <thetext>The schema for the Microsoft Element test (group=&quot;elemZ027_c&quot;;name=&quot;elemZ027_c&quot;) is described as invalid in the metadata. I think that this schema is actually valid. From my reading of the spec [1] and this post to the xmlschema-dev list [2] I believe that the block=&quot;substitution&quot; on element &quot;b&quot; only blocks &quot;a&quot; from being a member of &quot;b&quot;&apos;s substitution group. As such the element &quot;d&quot; specified in the base type can be substituted by &quot;c&quot;, &quot;b&quot; and &quot;a&quot; which means the derived type is valid.

[1] http://www.w3.org/TR/xmlschema-1/#cos-equiv-derived-ok-rec
[2] http://lists.w3.org/Archives/Public/xmlschema-dev/2007Jan/0068.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15495</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-06-21 11:29:47 +0000</bug_when>
    <thetext>I fear you are right, despite the fact that the spec here is clearly bizarre. I rather like MSMcQ&apos;s attempt to find a rationale: &quot;Er.  Ah. Those who favored the current design argued that it would be more useful this way&quot;.

Actually, I am not sure I have ever seen block=&quot;substitution&quot; used in a real live schema; it appears to be pretty useless either way. But conformance often means doing things that are patently bonkers...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31425</commentid>
    <comment_count>2</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2010-02-03 15:21:52 +0000</bug_when>
    <thetext>Looks like expected should just be flipped</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>