mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-28 20:22:24 -05:00
interim clarifications
This commit is contained in:
parent
adccf6c6ef
commit
4a776805d0
24
xep-0096.xml
24
xep-0096.xml
@ -11,6 +11,7 @@
|
|||||||
&LEGALNOTICE;
|
&LEGALNOTICE;
|
||||||
<number>0096</number>
|
<number>0096</number>
|
||||||
<status>Draft</status>
|
<status>Draft</status>
|
||||||
|
<interim/>
|
||||||
<type>Standards Track</type>
|
<type>Standards Track</type>
|
||||||
<sig>Standards</sig>
|
<sig>Standards</sig>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
@ -26,6 +27,13 @@
|
|||||||
&temas;
|
&temas;
|
||||||
&linuxwolf;
|
&linuxwolf;
|
||||||
&reatmon;
|
&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>
|
<revision>
|
||||||
<version>1.1</version>
|
<version>1.1</version>
|
||||||
<date>2004-04-13</date>
|
<date>2004-04-13</date>
|
||||||
@ -125,14 +133,15 @@
|
|||||||
with the possibility of one child describing the optional ranged transfers.
|
with the possibility of one child describing the optional ranged transfers.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The root element is <file> and has four attributes. The attributes
|
The root element is <file> and has five attributes. The attributes
|
||||||
are used only during the offer stage of stream initiation:</p>
|
are used only during the offer stage of stream initiation:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li><em>size</em> - The size, in bytes, of the data to be sent.</li>
|
<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>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
|
<li><em>date</em> - The last modification time of the file. This is
|
||||||
specified using the DateTime profile as described in &xep0082;.</li>
|
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>
|
</ul>
|
||||||
<p>The <em>size</em> and <em>name</em> attributes MUST be present in the
|
<p>The <em>size</em> and <em>name</em> attributes MUST be present in the
|
||||||
profile. The other attributes MAY be present.
|
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>
|
<desc>enables initiation of an outbound file transfer from XMPP entity</desc>
|
||||||
<doc>XEP-0096</doc>
|
<doc>XEP-0096</doc>
|
||||||
<keys>
|
<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>
|
<key>
|
||||||
<name>mime-type</name>
|
<name>mime-type</name>
|
||||||
<desc>the MIME type of the file being offered</desc>
|
<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 name='desc' type='xs:string'/>
|
||||||
<xs:element ref='range'/>
|
<xs:element ref='range'/>
|
||||||
</xs:sequence>
|
</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='hash' type='xs:string' use='optional'/>
|
||||||
<xs:attribute name='name' type='xs:string' use='required'/>
|
<xs:attribute name='name' type='xs:string' use='required'/>
|
||||||
<xs:attribute name='size' type='xs:integer' use='required'/>
|
<xs:attribute name='size' type='xs:integer' use='required'/>
|
||||||
|
Loading…
Reference in New Issue
Block a user