<?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>13151</bug_id>
          
          <creation_ts>2011-07-05 17:46:02 +0000</creation_ts>
          <short_desc>MEX schema missing minOccurs=&apos;0&apos; on PutMetadataResponse/Metadata</short_desc>
          <delta_ts>2011-09-13 21:29:13 +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>normal</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>50684</commentid>
    <comment_count>0</comment_count>
    <who name="Gilbert Pilz">gilbert.pilz</who>
    <bug_when>2011-07-05 17:46:02 +0000</bug_when>
    <thetext>The spec says:

[Body]/mex:PutMetadataResponse/mex:Metadata
This OPTIONAL element comprises the representation of all the metadata sections of the resource that have been updated during the PutMetadata operation.

but the schema sez:

  &lt;!-- Put Metadata response --&gt;
  &lt;xs:element name=&apos;PutMetadataResponse&apos;&gt;
    &lt;xs:complexType&gt;
      &lt;xs:sequence&gt;
        &lt;xs:element ref=&apos;tns:Metadata&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:anyAttribute namespace=&apos;##other&apos; processContents=&apos;lax&apos;/&gt;
    &lt;/xs:complexType&gt;
  &lt;/xs:element&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50685</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2011-07-05 17:52:32 +0000</bug_when>
    <thetext>Proposal:

modify:
        &lt;xs:element ref=&apos;tns:Metadata&apos;/&gt;

to:
        &lt;xs:element ref=&apos;tns:Metadata&apos; minOccurs=&apos;0&apos;/&gt;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>