1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-25 17:18:51 -05:00

Example welformedness correction.

git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1057 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
Ralph Meijer 2007-07-12 07:21:02 +00:00
parent 5835256268
commit d183f1cb91

View File

@ -41,7 +41,7 @@
<p>The &lt;media/&gt; element MAY also contain one or more &lt;data/&gt; elements for distributing the media in-band. The &lt;data/&gt; element MUST contain the media data encoded according to Base64 as specified in Section 4 of &rfc4648;. The <em>encoded</em> data SHOULD NOT be larger than 8 kilobytes. <note>If a stanza contains more than one &lt;data/&gt; element, the sending entity MUST take care not to trigger server-defined bandwidth limits.</note></p>
<p>Each &lt;uri/&gt; or &lt;data/&gt; element MUST include a 'type' atribute that specifies the MIME type (see &rfc2045;) of the media.</p>
<example caption='Audio Media Element'><![CDATA[
<media xmlns='xmlns='http://www.xmpp.org/extensions/xep-0221.html#ns'>
<media xmlns='http://www.xmpp.org/extensions/xep-0221.html#ns'>
<uri type='audio/x-wav'>http://victim.example.com/challenges/speech.wav?F3A6292C</uri>
<uri type='audio/ogg-speex'>http://victim.example.com/challenges/speech.ogg?F3A6292C</uri>
<uri type='audio/mpeg'>http://victim.example.com/challenges/speech.mp3?F3A6292C</uri>