mirror of https://github.com/moparisthebest/xeps
0.2
This commit is contained in:
parent
89d1498907
commit
b09d6a1f5a
18
xep-0297.xml
18
xep-0297.xml
|
@ -27,6 +27,12 @@
|
||||||
<jid>me@matthewwild.co.uk</jid>
|
<jid>me@matthewwild.co.uk</jid>
|
||||||
</author>
|
</author>
|
||||||
&ksmith;
|
&ksmith;
|
||||||
|
<revision>
|
||||||
|
<version>0.2</version>
|
||||||
|
<date>2011-07-06</date>
|
||||||
|
<initials>psa</initials>
|
||||||
|
<remark><p>Corrected XML namespace to reflect official publication.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
<date>2011-04-11</date>
|
<date>2011-04-11</date>
|
||||||
|
@ -67,11 +73,11 @@
|
||||||
</message>
|
</message>
|
||||||
]]></example>
|
]]></example>
|
||||||
|
|
||||||
<p>To forward this to Mercutio, Romeo would send a new message with a <forwarded/> payload of namespace 'urn:xmpp:forward:tmp'.</p>
|
<p>To forward this to Mercutio, Romeo would send a new message with a <forwarded/> payload of namespace 'urn:xmpp:forward:0'.</p>
|
||||||
<example caption='Forwarding a message'><![CDATA[
|
<example caption='Forwarding a message'><![CDATA[
|
||||||
<message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'>
|
<message to='mercutio@verona.lit' from='romeo@montague.lit/orchard' type='chat' id='28gs'>
|
||||||
<body>A most courteous exposition!</body>
|
<body>A most courteous exposition!</body>
|
||||||
<forwarded xmlns='urn:xmpp:forward:tmp'>
|
<forwarded xmlns='urn:xmpp:forward:0'>
|
||||||
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
|
<delay xmlns='urn:xmpp:delay' stamp='2010-07-10T23:08:25Z'/>
|
||||||
<message to='romeo@montague.lit' from='juliet@capulet.lit/orchard' type='chat' id='0202197' xmlns='jabber:client'>
|
<message to='romeo@montague.lit' from='juliet@capulet.lit/orchard' type='chat' id='0202197' xmlns='jabber:client'>
|
||||||
<body>Yet I should kill thee with much cherishing.</body>
|
<body>Yet I should kill thee with much cherishing.</body>
|
||||||
|
@ -96,7 +102,7 @@
|
||||||
message. The format of this element is described in &xep0203;.</li>
|
message. The format of this element is described in &xep0203;.</li>
|
||||||
<li>The namespace of the forwarded stanza MUST be preserved (this is typically 'jabber:client').
|
<li>The namespace of the forwarded stanza MUST be preserved (this is typically 'jabber:client').
|
||||||
If no 'xmlns' is set for the stanza then as per XML namespacing rules it would inherit the
|
If no 'xmlns' is set for the stanza then as per XML namespacing rules it would inherit the
|
||||||
'urn:xmpp:forward:tmp' namespace, which is wrong.</li>
|
'urn:xmpp:forward:0' namespace, which is wrong.</li>
|
||||||
<li>When this extension is employed simply for a user to forward a given message to a contact, the
|
<li>When this extension is employed simply for a user to forward a given message to a contact, the
|
||||||
outer <message/> SHOULD contain a body (even if empty) and a receiving client should pay
|
outer <message/> SHOULD contain a body (even if empty) and a receiving client should pay
|
||||||
particular attention to ensure it renders both the sender's text and the forwarded message
|
particular attention to ensure it renders both the sender's text and the forwarded message
|
||||||
|
@ -115,8 +121,8 @@
|
||||||
|
|
||||||
<xs:schema
|
<xs:schema
|
||||||
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||||
targetNamespace='urn:xmpp:forward:tmp'
|
targetNamespace='urn:xmpp:forward:0'
|
||||||
xmlns='urn:xmpp:forward:tmp'
|
xmlns='urn:xmpp:forward:0'
|
||||||
elementFormDefault='qualified'>
|
elementFormDefault='qualified'>
|
||||||
|
|
||||||
<xs:annotation>
|
<xs:annotation>
|
||||||
|
@ -139,6 +145,6 @@
|
||||||
]]></code>
|
]]></code>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Acknowledgements' anchor='ack'>
|
<section1 topic='Acknowledgements' anchor='ack'>
|
||||||
<p>Thanks to Florian Zeitz for feedback.</p>
|
<p>Thanks to Matt Miller and Florian Zeitz for feedback.</p>
|
||||||
</section1>
|
</section1>
|
||||||
</xep>
|
</xep>
|
||||||
|
|
Loading…
Reference in New Issue