mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 10:12:19 -05:00
XEP-0329: Make indentation consistent with other XEPs
This commit is contained in:
parent
0a632c532e
commit
3949be39a8
84
xep-0329.xml
84
xep-0329.xml
@ -77,7 +77,7 @@
|
|||||||
from='juliet@capulet.com/chamber'
|
from='juliet@capulet.com/chamber'
|
||||||
to='romeo@montague.net/home'
|
to='romeo@montague.net/home'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" />
|
<query xmlns="urn:xmpp:fis:0" />
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -88,11 +88,11 @@
|
|||||||
from='romeo@montague.net/home'
|
from='romeo@montague.net/home'
|
||||||
to='juliet@capulet.com/chamber'
|
to='juliet@capulet.com/chamber'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0">
|
<query xmlns="urn:xmpp:fis:0">
|
||||||
<directory name='documents'/>
|
<directory name='documents'/>
|
||||||
<directory name='pics'/>
|
<directory name='pics'/>
|
||||||
<directory name='audio'/>
|
<directory name='audio'/>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -103,7 +103,7 @@
|
|||||||
from='romeo@montague.net/home'
|
from='romeo@montague.net/home'
|
||||||
to='juliet@capulet.com/chamber'
|
to='juliet@capulet.com/chamber'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" />
|
<query xmlns="urn:xmpp:fis:0" />
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -114,7 +114,7 @@
|
|||||||
from='juliet@capulet.com/chamber'
|
from='juliet@capulet.com/chamber'
|
||||||
to='romeo@montague.net/home'
|
to='romeo@montague.net/home'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" node="documents" />
|
<query xmlns="urn:xmpp:fis:0" node="documents" />
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -126,20 +126,20 @@
|
|||||||
from='romeo@montague.net/home'
|
from='romeo@montague.net/home'
|
||||||
to='juliet@capulet.com/chamber'
|
to='juliet@capulet.com/chamber'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" node="documents">
|
<query xmlns="urn:xmpp:fis:0" node="documents">
|
||||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
||||||
<name>test.txt</name>
|
<name>test.txt</name>
|
||||||
<date>1969-07-21T02:56:15Z</date>
|
<date>1969-07-21T02:56:15Z</date>
|
||||||
<desc>This is a test. If this were a real file...</desc>
|
<desc>This is a test. If this were a real file...</desc>
|
||||||
<range/>
|
<range/>
|
||||||
<size>1022</size>
|
<size>1022</size>
|
||||||
<hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
|
<hash xmlns='urn:xmpp:hashes:1' algo='sha-1'>552da749930852c69ae5d2141d3766b1</hash>
|
||||||
</file>
|
</file>
|
||||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
||||||
<name>test2.txt</name>
|
<name>test2.txt</name>
|
||||||
</file>
|
</file>
|
||||||
<directory name="secret docs" />
|
<directory name="secret docs" />
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -150,7 +150,7 @@
|
|||||||
from='juliet@capulet.com/chamber'
|
from='juliet@capulet.com/chamber'
|
||||||
to='romeo@montague.net/home'
|
to='romeo@montague.net/home'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" node="documents/test2.txt" />
|
<query xmlns="urn:xmpp:fis:0" node="documents/test2.txt" />
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -160,12 +160,12 @@
|
|||||||
from='romeo@montague.net/home'
|
from='romeo@montague.net/home'
|
||||||
to='juliet@capulet.com/chamber'
|
to='juliet@capulet.com/chamber'
|
||||||
id='1234'>
|
id='1234'>
|
||||||
<query xmlns="urn:xmpp:fis:0" node="test2.txt">
|
<query xmlns="urn:xmpp:fis:0" node="test2.txt">
|
||||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
||||||
<name>test2.txt</name>
|
<name>test2.txt</name>
|
||||||
<size>1000</size>
|
<size>1000</size>
|
||||||
</file>
|
</file>
|
||||||
</query>
|
</query>
|
||||||
</iq>
|
</iq>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
@ -188,19 +188,19 @@
|
|||||||
<p> As it was previously discussed, when requesting detailed information about a file, only the "name" attribute is required, but it is strongly RECOMMENDED that the hash attribute be included, in order to reduce the chances of sending the wrong file. When requesting the file to be transferred using &xep0234;, the information that must be provided has to identify the file uniquely. It is then RECOMMENDED that when requesting a file, the full path of the file in the shared folder be included in the "name" attribute.</p>
|
<p> As it was previously discussed, when requesting detailed information about a file, only the "name" attribute is required, but it is strongly RECOMMENDED that the hash attribute be included, in order to reduce the chances of sending the wrong file. When requesting the file to be transferred using &xep0234;, the information that must be provided has to identify the file uniquely. It is then RECOMMENDED that when requesting a file, the full path of the file in the shared folder be included in the "name" attribute.</p>
|
||||||
<example>
|
<example>
|
||||||
<![CDATA[
|
<![CDATA[
|
||||||
<jingle xmlns='urn:xmpp:jingle:1'
|
<jingle xmlns='urn:xmpp:jingle:1'
|
||||||
action='session-initiate'
|
action='session-initiate'
|
||||||
initiator='juliet@capulet.com/chamber'
|
initiator='juliet@capulet.com/chamber'
|
||||||
sid='uj3b2'>
|
sid='uj3b2'>
|
||||||
<content creator='initiator' name='a-file-request'>
|
<content creator='initiator' name='a-file-request'>
|
||||||
<description xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
<description xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
||||||
<request>
|
<request>
|
||||||
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
<file xmlns='urn:xmpp:jingle:apps:file-transfer:3'>
|
||||||
<name>pics/test4.png</name>
|
<name>pics/test4.png</name>
|
||||||
<size>10740</size>
|
<size>10740</size>
|
||||||
</file>
|
</file>
|
||||||
</request>
|
</request>
|
||||||
</description>
|
</description>
|
||||||
]]>
|
]]>
|
||||||
</example>
|
</example>
|
||||||
</section2>
|
</section2>
|
||||||
|
Loading…
Reference in New Issue
Block a user