mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
XEP-0294 v0.2 -- Added XML Schema; Updated based on last call feedback
This commit is contained in:
parent
5bb546a468
commit
e46ad7b3f4
62
xep-0294.xml
Executable file → Normal file
62
xep-0294.xml
Executable file → Normal file
@ -28,6 +28,12 @@
|
|||||||
<jid>olivier.crete@collabora.co.uk</jid>
|
<jid>olivier.crete@collabora.co.uk</jid>
|
||||||
</author>
|
</author>
|
||||||
<discuss>jingle</discuss>
|
<discuss>jingle</discuss>
|
||||||
|
<revision>
|
||||||
|
<version>0.2</version>
|
||||||
|
<date>2015-03-25</date>
|
||||||
|
<initials>ph</initials>
|
||||||
|
<remark><p>Added XML Schema; Updated based on last call feedback.</p></remark>
|
||||||
|
</revision>
|
||||||
<revision>
|
<revision>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
<date>2011-03-24</date>
|
<date>2011-03-24</date>
|
||||||
@ -93,8 +99,7 @@
|
|||||||
|
|
||||||
<p>Any type of RTP Header Extension that requires extra
|
<p>Any type of RTP Header Extension that requires extra
|
||||||
parameters in the a=b form can embed <parameter/> elements to
|
parameters in the a=b form can embed <parameter/> elements to
|
||||||
describe it. Any other form of parameter can be stored in the CDATA
|
describe it. Any other form of parameter can be stored as the 'key' attribute in a parameter element with an empty value.</p>
|
||||||
inside the <rtp-hdrext/> element.</p>
|
|
||||||
|
|
||||||
</section1>
|
</section1>
|
||||||
|
|
||||||
@ -250,7 +255,58 @@ a=extmap:3 URI-frametype
|
|||||||
</section2>
|
</section2>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='XML Schemas'>
|
<section1 topic='XML Schemas'>
|
||||||
<p>TODO: Write actual schema</p>
|
<code><![CDATA[
|
||||||
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
|
||||||
|
<xs:schema
|
||||||
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
||||||
|
targetNamespace='urn:xmpp:jingle:apps:rtp:rtp-hdrext:0'
|
||||||
|
xmlns='urn:xmpp:jingle:apps:rtp:rtp-hdrext:0'
|
||||||
|
elementFormDefault='qualified'>
|
||||||
|
|
||||||
|
<xs:annotation>
|
||||||
|
<xs:documentation>
|
||||||
|
The protocol documented by this schema is defined in
|
||||||
|
XEP-0294: http://www.xmpp.org/extensions/xep-0294.html
|
||||||
|
</xs:documentation>
|
||||||
|
</xs:annotation>
|
||||||
|
|
||||||
|
<xs:element name='rtp-hdrext'>
|
||||||
|
<xs:complexType>
|
||||||
|
<xs:sequence>
|
||||||
|
<xs:element name='parameter'
|
||||||
|
type='parameterElementType'
|
||||||
|
minOccurs='0'
|
||||||
|
maxOccurs='unbounded'/>
|
||||||
|
</xs:sequence>
|
||||||
|
<xs:attribute name='id' type='xs:unsignedInt' use='required'/>
|
||||||
|
<xs:attribute name='uri' type='xs:string' use='required'/>
|
||||||
|
<xs:attribute name='senders'
|
||||||
|
use='optional'
|
||||||
|
default='both'>
|
||||||
|
<xs:simpleType>
|
||||||
|
<xs:restriction base='xs:NCName'>
|
||||||
|
<xs:enumeration value='both'/>
|
||||||
|
<xs:enumeration value='initiator'/>
|
||||||
|
<xs:enumeration value='none'/>
|
||||||
|
<xs:enumeration value='responder'/>
|
||||||
|
</xs:restriction>
|
||||||
|
</xs:simpleType>
|
||||||
|
</xs:attribute>
|
||||||
|
</xs:complexType>
|
||||||
|
</xs:element>
|
||||||
|
|
||||||
|
<xs:complexType name='parameterElementType'>
|
||||||
|
<xs:simpleContent>
|
||||||
|
<xs:extension base='empty'>
|
||||||
|
<xs:attribute name='name' type='xs:string' use='required'/>
|
||||||
|
<xs:attribute name='value' type='xs:string' use='optional'/>
|
||||||
|
</xs:extension>
|
||||||
|
</xs:simpleContent>
|
||||||
|
</xs:complexType>
|
||||||
|
|
||||||
|
</xs:schema>
|
||||||
|
]]></code>
|
||||||
</section1>
|
</section1>
|
||||||
<section1 topic='Acknowledgements' anchor='ack'>
|
<section1 topic='Acknowledgements' anchor='ack'>
|
||||||
<p>Thanks to Youness Alaoui for his feedback.</p>
|
<p>Thanks to Youness Alaoui for his feedback.</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user