1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 18:22:24 -05:00
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@2133 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Peter Saint-Andre 2008-08-06 18:19:22 +00:00
parent 193ba0d055
commit fc15c52bc5

View File

@ -22,6 +22,12 @@
<shortname>NOT_YET_ASSIGNED</shortname> <shortname>NOT_YET_ASSIGNED</shortname>
&ianpaterson; &ianpaterson;
&stpeter; &stpeter;
<revision>
<version>0.5</version>
<date>2008-08-06</date>
<initials>psa</initials>
<remark><p>Modified examples to track changes to XEP-0231.</p></remark>
</revision>
<revision> <revision>
<version>0.4</version> <version>0.4</version>
<date>2008-07-27</date> <date>2008-07-27</date>
@ -64,19 +70,15 @@
http://victim.example.com/challenges/speech.wav?F3A6292C http://victim.example.com/challenges/speech.wav?F3A6292C
</uri> </uri>
<uri type='audio/ogg; codecs=speex'> <uri type='audio/ogg; codecs=speex'>
http://victim.example.com/challenges/speech.ogg?F3A6292C cid:eb52a668-63d9-11dd-8065-001143d5d5db@victim.example.com
</uri> </uri>
<uri type='audio/mpeg'> <uri type='audio/mpeg'>
http://victim.example.com/challenges/speech.mp3?F3A6292C http://victim.example.com/challenges/speech.mp3?F3A6292C
</uri> </uri>
<data xmlns='urn:xmpp:tmp:data-element'
alt='An audio file'
type='audio/ogg; codecs=speex'>
[ ... base64-encoded-audio ... ]
</data>
</media> </media>
]]></example> ]]></example>
<p>The following example is provided only for the purpose of illustration; consult the specifications for using protocols to see canonical examples.</p> <p>The cid: URI points to data that can be retrieved using the protocol described in &xep0231; and the data element would be included along with the XMPP stanza containing the data form.</p>
<p>The following example is provided only for the purpose of illustration; consult the specifications for using protocols (e.g., <cite>XEP-0158</cite>) to see canonical examples.</p>
<example caption='Inclusion in Data Form'><![CDATA[ <example caption='Inclusion in Data Form'><![CDATA[
<x xmlns='jabber:x:data' type='form'> <x xmlns='jabber:x:data' type='form'>
[ ... ] [ ... ]
@ -87,8 +89,9 @@
<uri type='image/jpeg'> <uri type='image/jpeg'>
http://www.victim.com/challenges/ocr.jpeg?F3A6292C http://www.victim.com/challenges/ocr.jpeg?F3A6292C
</uri> </uri>
<data xmlns='urn:xmpp:tmp:data-element' <uri type='image/jpeg'>
type='image/jpeg'> ** Base64 encoded image ** </data> cid:99f2fea6-63e0-11dd-88e6-001143d5d5db@victim.example.com
</uri>
</media> </media>
</field> </field>
[ ... ] [ ... ]