1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-10-31 15:35:07 -04:00

corrected examples

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@3965 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2010-02-22 04:19:32 +00:00
parent 06cc8d6da2
commit 89502bf9bf

View File

@ -479,7 +479,7 @@
<url>http://example.org/me.png</url> <url>http://example.org/me.png</url>
<desc>John Q. Public</desc> <desc>John Q. Public</desc>
</x> </x>
</iq> </message>
]]></example> ]]></example>
<p>Alternatively, if all else fails, the file may be included as a SOAP representation header:</p> <p>Alternatively, if all else fails, the file may be included as a SOAP representation header:</p>
<example caption="IQ-set with SOAP representation header"><![CDATA[ <example caption="IQ-set with SOAP representation header"><![CDATA[
@ -529,7 +529,9 @@
<message from='requester@example.com/soap-client' <message from='requester@example.com/soap-client'
id='soap2' id='soap2'
to='responder@example.com/soap-server'> to='responder@example.com/soap-server'>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"> <env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"
xmlns:rep="http://www.w3.org/2004/08/representation"
xmlns:xmlmime="http://www.w3.org/2004/11/xmlmime">
<env:Header> <env:Header>
<rep:Representation resource='http://example.org/me.png'> <rep:Representation resource='http://example.org/me.png'>
<rep:Data xmlmime:contentType='image/png'>/aWKKapGGyQ=</rep:Data> <rep:Data xmlmime:contentType='image/png'>/aWKKapGGyQ=</rep:Data>