aboutsummaryrefslogtreecommitdiff
path: root/xep-0247.xml
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2017-02-14 22:10:01 +0000
committerSam Whited <sam@samwhited.com>2017-02-16 19:37:21 -0600
commit3c5f20a4ca6ea51d63c3e3ec1fe0797ffc5fdbf6 (patch)
treebdb1becc8d8aa3b1cec2da124b517199fd2f66bc /xep-0247.xml
parent856c7427d638fe13204dacfcd96abfa74603f221 (diff)
Remove all trailing whitespace from every XEP.
sed -i 's/\s\+$//' xep-*.xml
Diffstat (limited to 'xep-0247.xml')
-rw-r--r--xep-0247.xml28
1 files changed, 14 insertions, 14 deletions
diff --git a/xep-0247.xml b/xep-0247.xml
index f72bc9c..d512cd6 100644
--- a/xep-0247.xml
+++ b/xep-0247.xml
@@ -141,8 +141,8 @@
<p>The clients can then begin to exchange XMPP data over the in-band bytestream. Because the transport is an in-band bytestream, the XMPP data is prepared as described in &xep0047; (i.e., Base64-encoded).</p>
<p>First the initiator sends an initial stream header to the responder.</p>
<example caption="Initial stream header (unencoded)"><![CDATA[
-<stream:stream
- xmlns='jabber:client'
+<stream:stream
+ xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
from='romeo@montague.lit/orchard'
to='juliet@capulet.lit/balcony'
@@ -150,7 +150,7 @@
]]></example>
<p>Note: In accordance with &xmppim;, the initial stream header SHOULD include the 'to' and 'from' attributes, which SHOULD specify the full JIDs of the clients. If the initiator supports stream features and the other stream-related aspects of XMPP 1.0 as specified in <cite>RFC 3920</cite>, then it SHOULD include the version='1.0' flag as shown in the previous example.</p>
<example caption="Initial stream header (encoded in IBB) and IQ-result"><![CDATA[
-<iq from='romeo@montague.net/orchard'
+<iq from='romeo@montague.net/orchard'
id='ur73n153'
to='juliet@capulet.com/balcony'
type='set'>
@@ -164,13 +164,13 @@
<iq from='juliet@capulet.com/balcony'
id='ur73n153'
- to='romeo@montague.net/orchard'
+ to='romeo@montague.net/orchard'
type='result'/>
]]></example>
<p>The responder then sends a response stream header back to the initiator (because this stream header is sent in the other direction, the IBB 'seq' attribute has a value of zero, not 1).</p>
<example caption="Response stream header"><![CDATA[
-<stream:stream
- xmlns='jabber:client'
+<stream:stream
+ xmlns='jabber:client'
xmlns:stream='http://etherx.jabber.org/streams'
from='juliet@capulet.lit/balcony'
id='hs91gh1836d8s717'
@@ -180,7 +180,7 @@
<example caption="Response stream header (encoded in IBB) and IQ-result"><![CDATA[
<iq from='juliet@capulet.com/balcony'
id='pd61g397'
- to='romeo@montague.net/orchard'
+ to='romeo@montague.net/orchard'
type='set'>
<data xmlns='http://jabber.org/protocol/ibb' seq='1' sid='vj3hs98y'>
PHN0cmVhbTpzdHJlYW0geG1sbnM9J2phYmJlcjpjbGllbnQnIHhtbG5zOnN0cmVh
@@ -190,7 +190,7 @@
</data>
</iq>
-<iq from='romeo@montague.net/orchard'
+<iq from='romeo@montague.net/orchard'
id='pd61g397'
to='juliet@capulet.com/balcony'
type='result'/>
@@ -202,7 +202,7 @@
</message>
]]></example>
<example caption="A message (encoded in IBB) and IQ-result"><![CDATA[
-<iq from='romeo@montague.net/orchard'
+<iq from='romeo@montague.net/orchard'
id='iq7dh294'
to='juliet@capulet.com/balcony'
type='set'>
@@ -216,7 +216,7 @@
<iq from='juliet@capulet.com/balcony'
id='iq7dh294'
- to='romeo@montague.net/orchard'
+ to='romeo@montague.net/orchard'
type='result'/>
]]></example>
<p>The responder could then send a reply.</p>
@@ -228,7 +228,7 @@
<example caption="A reply (encoded in IBB) and IQ-result"><![CDATA[
<iq from='juliet@capulet.com/balcony'
id='hr91hd63'
- to='romeo@montague.net/orchard'
+ to='romeo@montague.net/orchard'
type='set'>
<data xmlns='http://jabber.org/protocol/ibb' seq='1' sid='vj3hs98y'>
PG1lc3NhZ2UgZnJvbT0nanVsaWV0QGNhcHVsZXQubGl0L2JhbGNvbnknIHRvPSdy
@@ -237,7 +237,7 @@
</data>
</iq>
-<iq from='romeo@montague.net/orchard'
+<iq from='romeo@montague.net/orchard'
id='kr91n475'
to='juliet@capulet.com/balcony'
type='result'/>
@@ -249,14 +249,14 @@
<example caption="Stream close (encoded in IBB) and IQ-result"><![CDATA[
<iq from='juliet@capulet.com/balcony'
id='kr91n475'
- to='romeo@montague.net/orchard'
+ to='romeo@montague.net/orchard'
type='set'>
<data xmlns='http://jabber.org/protocol/ibb' seq='2' sid='vj3hs98y'>
PC9zdHJlYW06c3RyZWFtPg==
</data>
</iq>
-<iq from='romeo@montague.net/orchard'
+<iq from='romeo@montague.net/orchard'
id='kr91n475'
to='juliet@capulet.com/balcony'
type='result'/>