<?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>7484</bug_id>
          
          <creation_ts>2009-09-03 07:56:40 +0000</creation_ts>
          <short_desc>head/@profile holds a white-space separated list of URIs</short_desc>
          <delta_ts>2010-10-04 14:31:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>pre-LC1 HTML5 spec (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NE, NoReply</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Julian Reschke">julian.reschke</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>mjs</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26806</commentid>
    <comment_count>0</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2009-09-03 07:56:40 +0000</bug_when>
    <thetext>Citing &lt;http://dev.w3.org/html5/spec/Overview.html#other-elements-attributes-and-apis&gt;, as of 2009-09-03:

&quot;[Supplemental]
interface HTMLHeadElement {
           attribute DOMString profile;
};

User agents should ignore the profile content attribute on head elements.

When the attribute would be used as a globally unique name, the user agent should instead always assume that all known profiles apply to all pages, and should therefore apply the conventions of all known metadata profiles to the document.

When the attribute&apos;s value would be handled as a URL and dereferenced, the user agent may resolve the attribute&apos;s value, and if that is successful, may then fetch the resulting absolute URL and apply the appropriate processing.

The profile IDL attribute of the head element must reflect the content attribute of the same name.&quot;

This makes it sound as if the attribute value is a single URI; that is not the case. The related text in HTML 4.01 is inconsistent, and this has been a known bug for eternity. The HTML WG should fix this misunderstanding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26810</commentid>
    <comment_count>1</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-09-03 10:18:30 +0000</bug_when>
    <thetext>HTML4&apos;s text on this is hard to follow, but it seems there is content out there using multiple URLs:

http://philip.html5.org/data/profile-values-2.txt

And it seems some processors handle it.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27313</commentid>
    <comment_count>2</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2009-09-18 20:43:05 +0000</bug_when>
    <thetext>Why was this bug closed?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27315</commentid>
    <comment_count>3</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2009-09-18 20:54:53 +0000</bug_when>
    <thetext>It was closed because the spec section you cite now process profile as multiple space-separated URLs as you requested:

&quot;When the attribute&apos;s value would be handled as a URL and dereferenced, the user agent must use the following steps:

Split on spaces the the value of the profile attribute.

Resolve each resulting token relative to the meta element.

For each token that is successfully resolved, fetch the resulting absolute URL and apply the appropriate processing.&quot;

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27317</commentid>
    <comment_count>4</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2009-09-18 21:01:36 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; It was closed because the spec section you cite now process profile as multiple
&gt; space-separated URLs as you requested:
&gt; 
&gt; &quot;When the attribute&apos;s value would be handled as a URL and dereferenced, the
&gt; user agent must use the following steps:
&gt; 
&gt; Split on spaces the the value of the profile attribute.
&gt; 
&gt; Resolve each resulting token relative to the meta element.
&gt; 
&gt; For each token that is successfully resolved, fetch the resulting absolute URL
&gt; and apply the appropriate processing.&quot;

The spec still says &quot;...When the attribute would be used as a globally unique name...&quot; and &quot;When the attribute&apos;s value would be handled as a URL...&quot;.

Why not simply state that it&apos;s a set of whitespace separated tokens/URLs?



</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27456</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-22 00:04:37 +0000</bug_when>
    <thetext>&gt; The spec still says &quot;...When the attribute would be used as a globally unique
&gt; name...&quot; and &quot;When the attribute&apos;s value would be handled as a URL...&quot;.

Fixed, thanks.

&gt; Why not simply state that it&apos;s a set of whitespace separated tokens/URLs?

It&apos;s not anything, the attribute isn&apos;t allowed to be set.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27457</commentid>
    <comment_count>6</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-22 00:05:34 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r3948.
Check-in comment: Clarify that profile=&apos;&apos; took multiple tokens.
http://html5.org/tools/web-apps-tracker?from=3947&amp;to=3948
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27480</commentid>
    <comment_count>7</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2009-09-22 07:19:21 +0000</bug_when>
    <thetext>&quot;When the attribute&apos;s value would be handled as a list of URLs to be dereferenced...&quot;

Dereferencing is totally optional in HTML 4, so it&apos;s not clear why it&apos;s mentioned here.

Just say:

&quot;When the attribute&apos;s value would be handled as a list of URLs, ...&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27487</commentid>
    <comment_count>8</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-22 08:42:22 +0000</bug_when>
    <thetext>There are two cases that you have described that implementations do:

 a. Treating the URLs as magic tokens.
 b. Treating the URLs as identifying resources to apply.

Both cases are treated in the spec; the text you quoted is the text for (b).

Remarking FIXED since this now addresses your original comment. If you still disagree with the text, please file a new bug specifying what the problem with the new text is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27489</commentid>
    <comment_count>9</comment_count>
    <who name="Julian Reschke">julian.reschke</who>
    <bug_when>2009-09-22 08:59:53 +0000</bug_when>
    <thetext>Ack. In that case, my objection moves to the other sentence:

&quot;When the attribute would be used as a list of globally unique names,...&quot;

That should just say URIs, as does HTML4.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27516</commentid>
    <comment_count>10</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2009-09-22 10:55:12 +0000</bug_when>
    <thetext>I don&apos;t understand the difference, but ok, done.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27517</commentid>
    <comment_count>11</comment_count>
    <who name="">contributor</who>
    <bug_when>2009-09-22 10:56:22 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r3966.
Check-in comment: More tweaks to the profile=&apos;&apos; attribute.
http://html5.org/tools/web-apps-tracker?from=3965&amp;to=3966
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33383</commentid>
    <comment_count>12</comment_count>
    <who name="Maciej Stachowiak">mjs</who>
    <bug_when>2010-03-14 14:50:34 +0000</bug_when>
    <thetext>This bug predates the HTML Working Group Decision Policy.

If you are satisfied with the resolution of this bug, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
  http://dev.w3.org/html5/decision-policy/decision-policy.html

This bug is now being moved to VERIFIED. Please respond within two weeks. If this bug is not closed, reopened or escalated within two weeks, it may be marked as NoReply and will no longer be considered a pending comment.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>