<?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>8202</bug_id>
          
          <creation_ts>2009-11-05 15:58:35 +0000</creation_ts>
          <short_desc>MEX: definition of GetMetata/Dialect is a bit off</short_desc>
          <delta_ts>2010-03-17 11:10:02 +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>FPWD</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</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="Doug Davis">dug</reporter>
          <assigned_to name="Doug Davis">dug</assigned_to>
          
          
          <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>29340</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-11-05 15:58:35 +0000</bug_when>
    <thetext>For GetMetadata/Dialect the spec says:
--
[Body]/mex:GetMetadata/mex:Dialect
    When this repeating OPTIONAL element is present, the response MUST include only Metadata Sections corresponding to the Dialect specified by the IRI attribute; if the receiver does not have any Metadata Sections of the indicated Dialect, the response MUST include zero Metadata Sections. 
--

Couple of problems with this:
1 - its not 100% accurate. At the Dialect element level to only talk about 
how the response needs to only include metadata of this Dialect URI w/o any
mention of the @Identifier and @Content attributes is misleading.
2 - this paragraph repeats what the definition of the @URI attribute says
3 - the @URI definition text is better since it ends with:
     ...the response MUST include zero Metadata Sections for this IRI. 
    the &quot;for this IRI&quot; removes some possible confusion.  The current wording
    above could be interpreted to mean that if there are multiple
    Dialect elements and any one of them fails to match something then the
    entire response MUST not include ANY Metadata sections at all - even for
    other Dialects.

Proposal:
Modify the above text to be:
--
When this repeating OPTIONAL element is present, the response MUST include
only Metadata Sections corresponding to the Metadata matching the selection
criteria specified. If the receiver does not have any Metadata Sections
matching the selection criteria the response MUST include zero Metadata
Sections for this Dialect element.
--
and leave the definition of each attribute to get more specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30133</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-12-15 00:46:11 +0000</bug_when>
    <thetext>http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Dec/0048.html

&quot;When this repeating OPTIONAL element is present, the response MUST include only Metadata Sections corresponding to metadata specified by the combination of the URI, Identifier and Content attributes of each of the Dialect elements. For each Dialect element if there is no metadata for that combination of attributes then the response MUST NOT include any Metadata Sections for that Dialect element.&quot;
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>30149</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-12-15 22:09:18 +0000</bug_when>
    <thetext>resolved with proposal at http://lists.w3.org/Archives/Public/public-ws-resource-access/2009Dec/0048.html
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>