mirror of
https://github.com/moparisthebest/xeps
synced 2024-12-21 15:18:51 -05:00
2.2
This commit is contained in:
parent
174054f4f4
commit
0a69d4a365
@ -21,7 +21,7 @@
|
||||
<supersededby/>
|
||||
<shortname>jabber-rpc</shortname>
|
||||
<schemaloc>
|
||||
<url>http://www.xmpp.org/schemas/jabber-rpc.xsd</url>
|
||||
<url>http://xmpp.org/schemas/jabber-rpc.xsd</url>
|
||||
</schemaloc>
|
||||
<author>
|
||||
<firstname>DJ</firstname>
|
||||
@ -30,8 +30,8 @@
|
||||
<jid>dj@gnu.mine.nu</jid>
|
||||
</author>
|
||||
<revision>
|
||||
<version>2.2rc1</version>
|
||||
<date>2011-10-06</date>
|
||||
<version>2.2</version>
|
||||
<date>2011-11-10</date>
|
||||
<initials>psa</initials>
|
||||
<remark>Corrected element name in XML schema from "Base64" to "base64".</remark>
|
||||
</revision>
|
||||
@ -70,7 +70,7 @@
|
||||
<p>The &IQ; stanza contains a single &QUERY; sub-element in the jabber:iq:rpc namespace. The direct child of the &QUERY; element will be either a single <methodCall/> element (in the case of a request) or a single <methodResponse/> element (in the case of a response). This child element will contain the XML-RPC payload. Note that the XML declaration that normally appears at the head of an XML-RPC request or response when transported as the payload of an HTTP POST request MUST BE omitted when it is transported via a Jabber &IQ; stanza.</p>
|
||||
<p>The encoding of the Jabber XML stream is UTF-8. It is assumed that the encoding of the XML-RPC payload is also UTF-8.</p>
|
||||
<p>Application-level errors will be indicated within the XML-RPC payload (as is the case with the traditional HTTP-based XML-RPC mechanism). Transport level errors will be indicated in the normal way for &IQ; stanzas -- namely, by an &IQ; stanza of type "error" and the addition of an <error/> tag as a direct child of the &IQ; stanza. There are no specific XML-RPC-related, transport-level errors.</p>
|
||||
<p class='box'>In September of 2011, it was discovered that the XML schema quoted in <link url='#schema'>Section 8</link> contains an error, showing a child element of <Base64/> (uppercase "B") instead of <base64/> (lowercase "b"). A review of the XML-RPC specification and of numerous XML-RPC and Jabber-RPC implementations showed that the element name is properly "base64" and that the borrowed schema was in error by having an element name of "Base64". Therefore this specification was modified to use the correct element name: "base64". It is possible that some existing Jabber-RPC implementations might send a child element of <Base64/>.</p>
|
||||
<p class='box'>In September of 2011, it was discovered that the XML schema quoted in <link url='#schema'>Section 8</link> contains an error, showing a child element of <Base64/> (uppercase "B") instead of <base64/> (lowercase "b"). A review of the XML-RPC specification and of numerous XML-RPC and Jabber-RPC implementations showed that the element name is properly "base64" and that the quoted schema was in error by having an element name of "Base64". Therefore this specification and its associated schema were modified to use the correct element name: "base64". It is possible that some existing Jabber-RPC implementations might send a child element of <Base64/>.</p>
|
||||
</section1>
|
||||
<section1 topic='Examples'>
|
||||
<example caption='A typical request'><![CDATA[
|
||||
|
Loading…
Reference in New Issue
Block a user