interim clarifications

This commit is contained in:
stpeter 2011-01-05 11:49:49 -07:00
parent adccf6c6ef
commit 4a776805d0
1 changed files with 21 additions and 3 deletions

View File

@ -11,6 +11,7 @@
&LEGALNOTICE;
<number>0096</number>
<status>Draft</status>
<interim/>
<type>Standards Track</type>
<sig>Standards</sig>
<dependencies>
@ -26,6 +27,13 @@
&temas;
&linuxwolf;
&reatmon;
&stpeter;
<revision>
<version>1.2rc1</version>
<date>in progress, last updated 2010-08-16</date>
<initials>psa</initials>
<remark>Specified hash agility, including 'algo' attribute.</remark>
</revision>
<revision>
<version>1.1</version>
<date>2004-04-13</date>
@ -125,14 +133,15 @@
with the possibility of one child describing the optional ranged transfers.
</p>
<p>
The root element is &lt;file&gt; and has four attributes. The attributes
The root element is &lt;file&gt; and has five attributes. The attributes
are used only during the offer stage of stream initiation:</p>
<ul>
<li><em>size</em> - The size, in bytes, of the data to be sent.</li>
<li><em>name</em> - The name of the file that the Sender wishes to send.</li>
<li><em>date</em> - The last modification time of the file. This is
specified using the DateTime profile as described in &xep0082;.</li>
<li><em>hash</em> - The MD5 sum of the file contents.</li>
<li><em>hash</em> - A checksum of the file contents.</li>
<li><em>algo</em> - The hash function used to generate the checksum, as registered with the IANA at &ianahashes;; for backward compatibility, the default value is "md5".</li>
</ul>
<p>The <em>size</em> and <em>name</em> attributes MUST be present in the
profile. The other attributes MAY be present.
@ -359,6 +368,14 @@ xmpp:romeo@montague.net/orchard?recvfile;sid=pub234;mime-type=text%2Fplain;name=
<desc>enables initiation of an outbound file transfer from XMPP entity</desc>
<doc>XEP-0096</doc>
<keys>
<key>
<name>algo</name>
<desc>the hash algorithm used to generate the checksum</desc>
</key>
<key>
<name>hash</name>
<desc>a checksum of the file contents</desc>
</key>
<key>
<name>mime-type</name>
<desc>the MIME type of the file being offered</desc>
@ -404,7 +421,8 @@ xmpp:romeo@montague.net/orchard?recvfile;sid=pub234;mime-type=text%2Fplain;name=
<xs:element name='desc' type='xs:string'/>
<xs:element ref='range'/>
</xs:sequence>
<xs:attribute name='date' type='xs:dateTime' use='optional'/>
<xs:attribute name='algo' type='xs:NMTOKEN' use='optional' default='md5'/>
<xs:attribute name='hash' type='xs:string' use='optional'/>
<xs:attribute name='hash' type='xs:string' use='optional'/>
<xs:attribute name='name' type='xs:string' use='required'/>
<xs:attribute name='size' type='xs:integer' use='required'/>