Permalink
Browse files

jabberconference

git-svn-id: svn://svn.xmpp.org:7938/xmpp/trunk@3280 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information...
1 parent 226ca32 commit 44f3ca860aad1258004964e17a8f580277b1e4fe @stpeter stpeter committed Jun 25, 2009
Showing with 45 additions and 1 deletion.
  1. +6 −1 schemas/index.shtml
  2. +39 −0 schemas/x-conference.xsd
View
@@ -4,7 +4,7 @@
<title>XMPP Schemas</title>
<!--#include virtual="/includes/head.txt" -->
<h2>XMPP Schemas</h2>
-<p style='font-style: italic'>Last Updated: 2009-06-17</p>
+<p style='font-style: italic'>Last Updated: 2009-06-25</p>
<p>The <a href='/protocols/'>XMPP protocols</a> defined in the <a href='/rfcs/'>XMPP RFCs</a> and various <a href='/extensions/'>XMPP extensions</a> are defined formally in terms of <a href='http://www.w3.org/TR/xmlschema-1/'>W3C XML Schema</a>. This page provides links to online versions of the relevant schemas.</p>
<p style='font-style: italic'>Note: The following table is sortable, just click on the headers (click twice to reverse the sort order).</p>
<table border='1' cellpadding='3' cellspacing='0' class='sortable' id='xeplist'>
@@ -315,6 +315,11 @@
<td><a href='/rfcs/rfc3920.html'>RFC 3920</a> *</td>
</tr>
<tr class='tablebody'>
+ <td>jabber:x:conference</td>
+ <td><a href='x-conference.xsd'>x-conference.xsd</a></td>
+ <td><a href='/extensions/xep-0249.html'>XEP-0249</a></td>
+</tr>
+<tr class='tablebody'>
<td>jabber:x:data</td>
<td><a href='x-data.xsd'>x-data.xsd</a></td>
<td><a href='/extensions/xep-0004.html'>XEP-0004</a></td>
View
@@ -0,0 +1,39 @@
+<?xml version='1.0' encoding='UTF-8'?>
+
+<xs:schema
+ xmlns:xs='http://www.w3.org/2001/XMLSchema'
+ targetNamespace='jabber:x:conference'
+ xmlns='jabber:x:conference'
+ elementFormDefault='qualified'>
+
+ <xs:annotation>
+ <xs:documentation>
+ The protocol documented by this schema is defined in
+ XEP-0249: http://www.xmpp.org/extensions/xep-0249.html
+ </xs:documentation>
+ </xs:annotation>
+
+ <xs:element name='x'>
+ <xs:complexType>
+ <xs:simpleContent>
+ <xs:extension base='empty'>
+ <xs:attribute
+ name='jid'
+ type='xs:string'
+ use='required'/>
+ <xs:attribute
+ name='reason'
+ type='xs:string'
+ use='optional'/>
+ </xs:extension>
+ </xs:simpleContent>
+ </xs:complexType>
+ </xs:element>
+
+ <xs:simpleType name='empty'>
+ <xs:restriction base='xs:string'>
+ <xs:enumeration value=''/>
+ </xs:restriction>
+ </xs:simpleType>
+
+</xs:schema>

0 comments on commit 44f3ca8

Please sign in to comment.