<?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>13016</bug_id>
          
          <creation_ts>2011-06-21 22:54:14 +0000</creation_ts>
          <short_desc>schema at http://www.w3.org/2011/03/ws-mex/MetadataExchange.xsd is incorrect</short_desc>
          <delta_ts>2011-09-13 21:37:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WS-Resource Access</product>
          <component>MetadataExchange</component>
          <version>CR</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>REMIND</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gilbert Pilz">gilbert.pilz</reporter>
          <assigned_to name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</assigned_to>
          <cc>dug</cc>
          
          <qa_contact name="notifications mailing list for WS Resource Access">public-ws-resource-access-notifications</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>50070</commentid>
    <comment_count>0</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2011-06-21 22:54:14 +0000</bug_when>
    <thetext>The schema at http://www.w3.org/2011/03/ws-mex/MetadataExchange.xsd is incorrect. The definition of the &apos;GetMetadata&apos; request element is missing the following line:

    &lt;xs:attribute name=&apos;Content&apos; type=&apos;xs:anyURI&apos;/&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50078</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-06-21 23:11:41 +0000</bug_when>
    <thetext>GetMetadata is defined as:
  &lt;mex:GetMetadata Content=&apos;xs:any&apos; ? ...&gt;
    &lt;mex:Dialect Type=&apos;mex:QNameSerialization&apos;
                 Identifier=&apos;xs:anyURI&apos; ?
                 Content=&apos;xs:anyURI&apos; ? .../&gt; *
    xs:any*
  &lt;/mex:GetMetadata&gt;

and the xsd shows:
  &lt;xs:element name=&apos;GetMetadata&apos;&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element ref=&apos;tns:Dialect&apos; minOccurs=&apos;0&apos; maxOccurs=&apos;unbounded&apos;/&gt;
        &lt;xs:any namespace=&apos;##other&apos; processContents=&apos;lax&apos; minOccurs=&apos;0&apos;
                maxOccurs=&apos;unbounded&apos;/&gt;
      &lt;/xs:sequence&gt;
      &lt;xs:attribute name=&apos;Content&apos; type=&apos;xs:anyURI&apos;/&gt;
      &lt;xs:anyAttribute namespace=&apos;##other&apos; processContents=&apos;lax&apos;/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;


And &apos;Dialect&apos; is defined as:
  &lt;xs:element name=&apos;Dialect&apos;&gt;
    &lt;xs:complexType&gt;
      &lt;xs:attribute name=&apos;Type&apos; type=&apos;tns:QNameSerialization&apos; use=&apos;required&apos;/&gt;
      &lt;xs:attribute name=&apos;Identifier&apos; type=&apos;xs:anyURI&apos;/&gt;
      &lt;xs:attribute name=&apos;Content&apos; type=&apos;xs:anyURI&apos;/&gt;
      &lt;xs:anyAttribute namespace=&apos;##other&apos; processContents=&apos;lax&apos;/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;


Isn&apos;t that right?  Notice the &apos;Content&apos; attribute in the last bit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50094</commentid>
    <comment_count>2</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2011-06-22 01:12:48 +0000</bug_when>
    <thetext>The schema that I downloaded from http://www.w3.org/2011/03/ws-mex/MetadataExchange.xsd does *not* have a @Content attribute defined for the GetMetadata element. It runs from lines 29-37 and looks like this:

  &lt;xs:element name=&quot;GetMetadata&quot;&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element ref=&quot;tns:Dialect&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
        &lt;xs:any namespace=&quot;##other&quot; processContents=&quot;lax&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;
      &lt;/xs:sequence&gt;
      &lt;xs:anyAttribute namespace=&quot;##other&quot; processContents=&quot;lax&quot;/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;

Notice the lack of &lt;xs:attribute name=&apos;Content&apos; . . .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50095</commentid>
    <comment_count>3</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-06-22 01:16:44 +0000</bug_when>
    <thetext>Its not supposed to.  The &apos;Content&apos; attribute is under the
Dialect element - referenced from:
        &lt;xs:element ref=&quot;tns:Dialect&quot; minOccurs=&quot;0&quot; maxOccurs=&quot;unbounded&quot;/&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50096</commentid>
    <comment_count>4</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-06-22 01:17:48 +0000</bug_when>
    <thetext>Never mind - I see what you mean now - I was looking at the wrong
Content attribute.  doi!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50647</commentid>
    <comment_count>5</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-07-04 19:18:53 +0000</bug_when>
    <thetext>it appears the the spec has the right info but the xsd is out of sync with it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50693</commentid>
    <comment_count>6</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-07-05 20:04:40 +0000</bug_when>
    <thetext>Fixed with the sync-up work done over the last weekend.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>