Fix syntax errors
authorGreg Billock <gbillock@google.com>
Wed, 11 Apr 2012 12:10:54 -0700
changeset 10 c69de8d064e4
parent 9 0fedf0bb0b10
child 11 a25d2b536de3
Fix syntax errors
spec/Overview-respec.html
spec/Overview.html
--- a/spec/Overview-respec.html	Tue Apr 10 18:21:29 2012 -0700
+++ b/spec/Overview-respec.html	Wed Apr 11 12:10:54 2012 -0700
@@ -303,11 +303,11 @@
         <dt>readonly attribute any data</dt>
         <dd>The data payload used MUST be an object upon which the structured
         clone algorithm can be performed, including Transferables.</dd>
-        <dt>readonly attribute sequence&amp;lt;Transferable&amp;gt; transfer</dt>
+        <dt>readonly attribute sequence&lt;Transferable&gt; transfer</dt>
         <dd>The list of Transferables, for use in the structured clone
         algorithm.</dd>
-        <dt>readonly attribute dictionary&amp;lt;string&amp;gt; extras</dt>
-        <dd>A key-value map of extra metadata to be sent with the intent</dd>
+        <dt>readonly attribute dictionary&lt;string&gt; extras</dt>
+        <dd>A key-value map of extra metadata to be sent with the intent.</dd>
         <dt>readonly attribute URL service</dt>
         <dd>When present, this field marks the intent as an explicit intent. The
         value MUST be an absolute URL.</dd>
@@ -339,7 +339,7 @@
         <dd><b>Only present when the Intent object is delivered to the Service
           page.</b> Any ports used in the |transferList| of the constructor during invocation will be
         delivered to the service page in the |ports| attribute. See
-        [[!http://dev.w3.org/html5/postmsg/]]</dd>
+        [[!POSTMSG]]</dd>
         <dt>string getExtra(DOMString key)</dt>
         <dd>Retrieves the value (if any) from the extra data dictionary this
         intent was constructed with.</dd>
@@ -351,7 +351,7 @@
         The payload must be an object upon which the structured clone algorithm can be
         performed. The Transferables array, if present, will specify
         transferable elements in the |data| payload argument, as per
-        [[!HTML5]] [[!http://dev.w3.org/html5/postmsg/]]</dd>
+        [[!HTML5]] [[!POSTMSG]]</dd>
         <dt>void postFailure(any data)</dt>
         <dd><b>Only present when the Intent object is delivered to the Service
           page.</b> The payload passed to this method will be returned to the onFailure
@@ -417,7 +417,7 @@
       cloneable object passed to the postResult method of the delivered Intent.
       The |ports| will be any ports in the payload, as resulting from the structured
       clone algorithm with Transferables, as in the Web Messaging spec.
-      [[!http://dev.w3.org/html5/postmsg/]]
+      [[!POSTMSG]]
     </dl>
 
     <dl title='interface IntentFailureCallback' class='idl'>
--- a/spec/Overview.html	Tue Apr 10 18:21:29 2012 -0700
+++ b/spec/Overview.html	Wed Apr 11 12:10:54 2012 -0700
@@ -686,17 +686,17 @@
       <b>type</b> fields are required; all others are optional.
       </p>
       <pre class="idl"><span class="idlDictionary" id="idl-def-IntentParameters">dictionary <span class="idlDictionaryID">IntentParameters</span> {
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute DOMString</a></span>                    <span class="idlMemberName"><a href="#widl-IntentParameters-action">action</a></span>;</span>
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute DOMString</a></span>                    <span class="idlMemberName"><a href="#widl-IntentParameters-type">type</a></span>;</span>
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute any</a></span>                          <span class="idlMemberName"><a href="#widl-IntentParameters-data">data</a></span>;</span>
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute sequence&lt;Transferable&gt;</a></span> <span class="idlMemberName"><a href="#widl-IntentParameters-transfer">transfer</a></span>;</span>
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute dictionary&lt;string&gt;</a></span>     <span class="idlMemberName"><a href="#widl-IntentParameters-extras">extras</a></span>;</span>
-<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute URL</a></span>                          <span class="idlMemberName"><a href="#widl-IntentParameters-service">service</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute DOMString</a></span>              <span class="idlMemberName"><a href="#widl-IntentParameters-action">action</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute DOMString</a></span>              <span class="idlMemberName"><a href="#widl-IntentParameters-type">type</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute any</a></span>                    <span class="idlMemberName"><a href="#widl-IntentParameters-data">data</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute sequence<transferable></transferable></a></span> <span class="idlMemberName"><a href="#widl-IntentParameters-transfer">transfer</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute dictionary<string></string></a></span>     <span class="idlMemberName"><a href="#widl-IntentParameters-extras">extras</a></span>;</span>
+<span class="idlMember">    <span class="idlMemberType"><a>readonly attribute URL</a></span>                    <span class="idlMemberName"><a href="#widl-IntentParameters-service">service</a></span>;</span>
 };</span>
 </pre><div id="dictionary-intentparameters-members" class="section"><h4><span class="secno">3.1.1 </span>Dictionary <a class="idlType" href="#idl-def-IntentParameters"><code>IntentParameters</code></a> Members</h4><dl class="dictionary-members"><dt id="widl-IntentParameters-action"><code>action</code> of type <span class="idlMemberType"><a>readonly attribute DOMString</a></span></dt><dd>An opaque string indicating the action type of the intent. The
         string <em class="rfc2119" title="must not">must not</em> be empty.</dd><dt id="widl-IntentParameters-data"><code>data</code> of type <span class="idlMemberType"><a>readonly attribute any</a></span></dt><dd>The data payload used <em class="rfc2119" title="must">must</em> be an object upon which the structured
-        clone algorithm can be performed, including Transferables.</dd><dt id="widl-IntentParameters-extras"><code>extras</code> of type <span class="idlMemberType"><a>readonly attribute dictionary&amp;lt;string&amp;gt;</a></span></dt><dd>A key-value map of extra metadata to be sent with the intent</dd><dt id="widl-IntentParameters-service"><code>service</code> of type <span class="idlMemberType"><a>readonly attribute URL</a></span></dt><dd>When present, this field marks the intent as an explicit intent. The
-        value <em class="rfc2119" title="must">must</em> be an absolute URL.</dd><dt id="widl-IntentParameters-transfer"><code>transfer</code> of type <span class="idlMemberType"><a>readonly attribute sequence&amp;lt;Transferable&amp;gt;</a></span></dt><dd>The list of Transferables, for use in the structured clone
+        clone algorithm can be performed, including Transferables.</dd><dt id="widl-IntentParameters-extras"><code>extras</code> of type <span class="idlMemberType"><a>readonly attribute dictionary&lt;string&gt;</a></span></dt><dd>A key-value map of extra metadata to be sent with the intent.</dd><dt id="widl-IntentParameters-service"><code>service</code> of type <span class="idlMemberType"><a>readonly attribute URL</a></span></dt><dd>When present, this field marks the intent as an explicit intent. The
+        value <em class="rfc2119" title="must">must</em> be an absolute URL.</dd><dt id="widl-IntentParameters-transfer"><code>transfer</code> of type <span class="idlMemberType"><a>readonly attribute sequence&lt;Transferable&gt;</a></span></dt><dd>The list of Transferables, for use in the structured clone
         algorithm.</dd><dt id="widl-IntentParameters-type"><code>type</code> of type <span class="idlMemberType"><a>readonly attribute DOMString</a></span></dt><dd>A string indicating the type of the data payload. The data payload
         <em class="rfc2119" title="must">must</em> be described by this parameter, which <em class="rfc2119" title="must not">must not</em> be empty.</dd></dl></div>
     </div>
@@ -726,7 +726,7 @@
         throw an exception.</dd><dt id="widl-Intent-ports"><code>ports</code> of type array of <span class="idlAttrType"><a>MessagePort</a></span>, readonly</dt><dd><b>Only present when the Intent object is delivered to the Service
           page.</b> Any ports used in the |transferList| of the constructor during invocation will be
         delivered to the service page in the |ports| attribute. See
-        [[!http://dev.w3.org/html5/postmsg/]]</dd><dt id="widl-Intent-type"><code>type</code> of type <span class="idlAttrType"><a>DOMString</a></span>, readonly</dt><dd>The data payload <em class="rfc2119" title="must">must</em> be described by the type parameter.
+        [<cite><a class="bibref" rel="biblioentry" href="#bib-POSTMSG">POSTMSG</a></cite>]</dd><dt id="widl-Intent-type"><code>type</code> of type <span class="idlAttrType"><a>DOMString</a></span>, readonly</dt><dd>The data payload <em class="rfc2119" title="must">must</em> be described by the type parameter.
         Recommended type strings are MIME strings or self-documenting urls. The
         string <em class="rfc2119" title="must not">must not</em> be empty, or the constructor <em class="rfc2119" title="must">must</em> throw an exception.</dd></dl></div><div id="methods" class="section"><h4><span class="secno">3.2.2 </span>Methods</h4><dl class="methods"><dt id="widl-Intent-getExtra-string-DOMString-key"><code>getExtra</code></dt><dd>Retrieves the value (if any) from the extra data dictionary this
         intent was constructed with.<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">key</td><td class="prmType"><code><a>DOMString</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>string</a></code></div></dd><dt id="widl-Intent-postFailure-void-any-data"><code>postFailure</code></dt><dd><b>Only present when the Intent object is delivered to the Service
@@ -739,7 +739,7 @@
         The payload must be an object upon which the structured clone algorithm can be
         performed. The Transferables array, if present, will specify
         transferable elements in the |data| payload argument, as per
-        [<cite><a class="bibref" rel="biblioentry" href="#bib-HTML5">HTML5</a></cite>] [[!http://dev.w3.org/html5/postmsg/]]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">sequence&lt;Transferable&gt;</td><td class="prmType"><code><a></a></code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd></dl></div>
+        [<cite><a class="bibref" rel="biblioentry" href="#bib-HTML5">HTML5</a></cite>] [<cite><a class="bibref" rel="biblioentry" href="#bib-POSTMSG">POSTMSG</a></cite>]<table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptFalse">✘</td><td class="prmDesc"></td></tr><tr><td class="prmName">sequence&lt;Transferable&gt;</td><td class="prmType"><code><a></a></code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd></dl></div>
       <p>
       Notes on the intent object: The transferList parameter is not available
       post-creation. It becomes an internal implementation detail directing the
@@ -797,7 +797,7 @@
       cloneable object passed to the postResult method of the delivered Intent.
       The |ports| will be any ports in the payload, as resulting from the structured
       clone algorithm with Transferables, as in the Web Messaging spec.
-      [[!http://dev.w3.org/html5/postmsg/]]
+      [<cite><a class="bibref" rel="biblioentry" href="#bib-POSTMSG">POSTMSG</a></cite>]
     <table class="parameters"><tr><th>Parameter</th><th>Type</th><th>Nullable</th><th>Optional</th><th>Description</th></tr><tr><td class="prmName">data</td><td class="prmType"><code><a>any</a></code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr><tr><td class="prmName">ports</td><td class="prmType"><code><a>MessagePort</a>[]</code></td><td class="prmNullFalse">✘</td><td class="prmOptTrue">✔</td><td class="prmDesc"></td></tr></table><div><em>Return type: </em><code><a>void</a></code></div></dd></dl></div>
 
     <pre class="idl"><span class="idlInterface" id="idl-def-IntentFailureCallback">interface <span class="idlInterfaceID">IntentFailureCallback</span> {
@@ -1212,5 +1212,6 @@
 <div id="references" class="appendix section"><!--OddPage--><h2><span class="secno">B. </span>References</h2><div id="normative-references" class="section"><h3><span class="secno">B.1 </span>Normative references</h3><dl class="bibliography"><dt id="bib-BLOB">[BLOB]</dt><dd>Arun Ranganathan. <a href="http://www.w3.org/TR/2009/WD-FileAPI-20091117/#dfn-Blob"><cite>Blob.</cite></a> 17 November 2009. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/2009/WD-FileAPI-20091117/">http://www.w3.org/TR/2009/WD-FileAPI-20091117/#dfn-Blob</a> 
 </dd><dt id="bib-HTML5">[HTML5]</dt><dd>Ian Hickson; David Hyatt. <a href="http://www.w3.org/TR/html5"><cite>HTML5.</cite></a> 25 May 2011. W3C Working Draft. (Work in progress.) URL: <a href="http://www.w3.org/TR/html5">http://www.w3.org/TR/html5</a> 
 </dd><dt id="bib-HTTP11">[HTTP11]</dt><dd>R. Fielding; et al. <a href="http://www.ietf.org/rfc/rfc2616.txt"><cite>Hypertext Transfer Protocol - HTTP/1.1.</cite></a> June 1999. Internet RFC 2616. URL: <a href="http://www.ietf.org/rfc/rfc2616.txt">http://www.ietf.org/rfc/rfc2616.txt</a> 
+</dd><dt id="bib-POSTMSG">[POSTMSG]</dt><dd>Ian Hickson. <a href="http://www.w3.org/TR/webmessaging/"><cite>HTML5 Web Messaging.</cite></a> 13 March 2012. W3C Working Draft. (Work In Progress.) URL: <a href="http://www.w3.org/TR/webmessaging/">http://www.w3.org/TR/webmessaging/</a>
 </dd><dt id="bib-RFC2046">[RFC2046]</dt><dd>N. Freed; N. Borenstein. <a href="http://www.ietf.org/rfc/rfc2046.txt"><cite>Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types.</cite></a> November 1996. Internet RFC 2046. URL: <a href="http://www.ietf.org/rfc/rfc2046.txt">http://www.ietf.org/rfc/rfc2046.txt</a> 
 </dd></dl></div><div id="informative-references" class="section"><h3><span class="secno">B.2 </span>Informative references</h3><p>No informative references.</p></div></div></body></html>