<?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>17804</bug_id>
          
          <creation_ts>2012-07-18 06:03:51 +0000</creation_ts>
          <short_desc>Handling parameter part of type attribute on the draft</short_desc>
          <delta_ts>2012-07-20 20:47:55 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Web Intents</product>
          <component>Web Intents specification</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Taiju Tsuiki">tzik</reporter>
          <assigned_to name="Greg Billock">gbillock</assigned_to>
          <cc>gbillock</cc>
    
    <cc>mike</cc>
    
    <cc>paulkinlan</cc>
    
    <cc>public-web-intents</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>70076</commentid>
    <comment_count>0</comment_count>
    <who name="Taiju Tsuiki">tzik</who>
    <bug_when>2012-07-18 06:03:51 +0000</bug_when>
    <thetext>In latest editor&apos;s draft of Web Intents[1],
second example posts an intent with type=&quot;text/uri-list&quot; and
third example declares it accepts type=&quot;text/uri-list;type=image/*&quot; intent.

But, according to matching section[2],
text/uri-list;type=image/* doesn&apos;t match against text/uri-list,
so third example can&apos;t accept the intent from second example.

IMO, possible fix is
 - changing &quot;text/uri-list&quot; to &quot;text/uri-list;type=image/&quot; in second example,
 - or, changing the matching algorithm to handle parameter part of type attribute.

[1] http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html#example
[2] http://dvcs.w3.org/hg/web-intents/raw-file/tip/spec/Overview.html#matching-action-and-type-for-delivery</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71270</commentid>
    <comment_count>1</comment_count>
    <who name="Greg Billock">gbillock</who>
    <bug_when>2012-07-20 20:47:55 +0000</bug_when>
    <thetext>This was technically OK, but a bad example (the second &quot;type&quot; is really a mime type parameter, not another mime type). I&apos;ve just removed it.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>