<?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>6604</bug_id>
          
          <creation_ts>2009-02-21 02:03:44 +0000</creation_ts>
          <short_desc>MEX: Define a way to ask for more than one MEX dialect</short_desc>
          <delta_ts>2009-04-21 21:29:11 +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>hasProposal</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>
          <cc>bob</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>23848</commentid>
    <comment_count>0</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-02-21 02:03:44 +0000</bug_when>
    <thetext>Add a feature to MEX to allow a client to specify a list of dialects (and identifiers).
Need to think about whether to allow the the &quot;format&quot; (or whatever we called it) to be on a per dialect basis or not.  Thoughts on this would be appreciated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>23851</commentid>
    <comment_count>1</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-02-21 14:53:38 +0000</bug_when>
    <thetext>Current form:
  &lt;mex:GetMetadata ... &gt;
    (&lt;mex:Dialect&gt;xs:anyURI&lt;/mex:Dialect&gt;
       (&lt;mex:Identifier&gt;xs:anyURI&lt;/mex:Identifier&gt;)?
    )?
    &lt;mex:Content&gt; xs:anyURI &lt;/mex:Content&gt; *
  &lt;/mex:GetMetadata&gt;

Proposal:
 &lt;mex:GetMetadata ... &gt;
   &lt;mex:Dialect uri=&quot;xs:anyURI&quot; 
                identifier=&quot;xs:anyURI&quot;? 
                Content=&quot;xs:anyURI&quot;? .../&gt; *
   ...
 &lt;/mex:GetMetadata&gt;

This gives you the flexibility of choosing different formats on a per Dialect basis.  What&apos;s nice about this is that since we&apos;ve defined the &quot;all&quot; Content URI, you could ask for all forms of a certain metadata with a single element.  However, if you want just 2 of the forms (e.g. URI and EPR) then you&apos;ll need to use 2 elements.  Not a huge issue and I&apos;m not sure one that will happen too often.  It seems that if you want a reference to the data you&apos;ll probably plan on only using one way to retrieve it - not both.

We could make the Content attribute a list of URIs, but that seems overly complicated when adding a new Dialect element gives you the same end result with only a few more bytes on the wire.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24140</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Freund">bob</who>
    <bug_when>2009-03-10 20:06:39 +0000</bug_when>
    <thetext>proposal in comment #1 accepted</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>24308</commentid>
    <comment_count>3</comment_count>
    <who name="Doug Davis">dug</who>
    <bug_when>2009-03-18 02:48:55 +0000</bug_when>
    <thetext>Done</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>