2006-10-02 18:22:13 -04:00
|
|
|
<?xml version='1.0' encoding='UTF-8'?>
|
|
|
|
|
|
|
|
<xs:schema
|
|
|
|
xmlns:xs='http://www.w3.org/2001/XMLSchema'
|
2006-10-02 23:51:29 -04:00
|
|
|
targetNamespace='http://www.xmpp.org/extensions'
|
|
|
|
xmlns='http://www.xmpp.org/extensions'
|
2006-10-02 18:22:13 -04:00
|
|
|
elementFormDefault='qualified'>
|
|
|
|
|
2006-10-02 23:51:29 -04:00
|
|
|
<xs:element name='xep'>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:annotation>
|
|
|
|
<xs:documentation>
|
|
|
|
|
2006-10-02 23:51:29 -04:00
|
|
|
This schema defines the document format for XMPP Extension
|
|
|
|
Protocols (XEPs). For further information about XEPs, visit:
|
2006-10-02 18:22:13 -04:00
|
|
|
|
2006-10-02 23:51:29 -04:00
|
|
|
http://www.xmpp.org/extensions/
|
2006-10-02 18:22:13 -04:00
|
|
|
|
|
|
|
The canonical URL for this schema is:
|
|
|
|
|
2006-10-02 23:51:29 -04:00
|
|
|
http://www.xmpp.org/extensions/xep.xsd
|
2006-10-02 18:22:13 -04:00
|
|
|
|
|
|
|
</xs:documentation>
|
|
|
|
</xs:annotation>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element ref='header'/>
|
|
|
|
<xs:element ref='section1' maxOccurs='unbounded'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='header'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='title' type='xs:string'/>
|
|
|
|
<xs:element name='abstract' type='xs:string'/>
|
|
|
|
<xs:element name='legal' type='xs:string'/>
|
|
|
|
<xs:element name='number' type='xs:byte'/>
|
|
|
|
<xs:element ref='status'/>
|
|
|
|
<xs:element ref='type'/>
|
2007-01-15 14:18:37 -05:00
|
|
|
<xs:element name='sig' type='xs:string'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element name='approver' type='xs:string'/>
|
|
|
|
<xs:element ref='dependencies'/>
|
|
|
|
<xs:element ref='supersedes'/>
|
|
|
|
<xs:element ref='supersededby'/>
|
|
|
|
<xs:element name='shortname' type='xs:NCNAME'/>
|
|
|
|
<xs:element ref='schemaloc' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element name='registry' type='empty' minOccurs='0'/>
|
|
|
|
<xs:element name='expires' type='xs:string'/>
|
|
|
|
<xs:element ref='author' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='revision' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='status'>
|
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction base='xs:NCNAME'>
|
|
|
|
<xs:enumeration value='Active'/>
|
|
|
|
<xs:enumeration value='Deferred'/>
|
|
|
|
<xs:enumeration value='Deprecated'/>
|
|
|
|
<xs:enumeration value='Draft'/>
|
|
|
|
<xs:enumeration value='Experimental'/>
|
|
|
|
<xs:enumeration value='Final'/>
|
|
|
|
<xs:enumeration value='Obsolete'/>
|
|
|
|
<xs:enumeration value='Proposed'/>
|
2006-10-02 23:51:29 -04:00
|
|
|
<xs:enumeration value='ProtoXEP'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:enumeration value='Rejected'/>
|
|
|
|
<xs:enumeration value='Retracted'/>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='type'>
|
|
|
|
<xs:simpleType>
|
|
|
|
<xs:restriction base='xs:string'>
|
|
|
|
<xs:enumeration value='Historical'/>
|
|
|
|
<xs:enumeration value='Humorous'/>
|
|
|
|
<xs:enumeration value='Informational'/>
|
|
|
|
<xs:enumeration value='Organizational'/>
|
|
|
|
<xs:enumeration value='Standards Track'/>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='dependencies'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence minOccurs='0' maxOccurs='unbounded'>
|
|
|
|
<xs:element name='spec' type='xs:string'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='supersedes'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='spec' type='xs:string'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='supersededby'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='spec' type='xs:string'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='schemaloc'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='ns' type='xs:string' minOccurs='0'/>
|
|
|
|
<xs:element name='url' type='xs:string'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='author'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='firstname' type='xs:string'/>
|
|
|
|
<xs:element name='surname' type='xs:string'/>
|
|
|
|
<xs:element name='authornote' type='empty' minOccurs='0'/>
|
|
|
|
<xs:element name='org' type='xs:string' minOccurs='0'/>
|
|
|
|
<xs:element name='email' type='xs:string'/>
|
|
|
|
<xs:element name='jid' type='xs:string' minOccurs='0'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='revision'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element name='version' type='xs:string'/>
|
|
|
|
<xs:element name='date' type='xs:dateTime'/>
|
|
|
|
<xs:element name='initials' type='xs:NCName'/>
|
|
|
|
<xs:element ref='remark'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='remark'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice>
|
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='1'/>
|
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='1'/>
|
|
|
|
</xs:choice>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='section1'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice maxOccurs='unbounded'>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='code' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='div' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='example' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ol' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='section2' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='table' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='topic' type='xs:string' use='required'/>
|
|
|
|
<xs:attribute name='anchor' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='section2'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice maxOccurs='unbounded'>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='code' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='div' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='example' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ol' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='section3' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='table' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='topic' type='xs:string' use='required'/>
|
|
|
|
<xs:attribute name='anchor' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='section3'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice maxOccurs='unbounded'>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='code' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='div' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='example' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ol' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='section4' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='table' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='topic' type='xs:string' use='required'/>
|
|
|
|
<xs:attribute name='anchor' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='section4'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice maxOccurs='unbounded'>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='code' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element ref='div' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='example' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ol' minOccurs='0' maxOccurs='unbounded'/>
|
2007-01-02 12:28:44 -05:00
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='table' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='unbounded'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='topic' type='xs:string' use='required'/>
|
|
|
|
<xs:attribute name='anchor' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='div'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice maxOccurs='unbounded'>
|
|
|
|
<xs:element ref='div' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='p' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='example' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='code' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ul' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='ol' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='class' type='xs:string' use='optional'/>
|
|
|
|
<xs:attribute name='style' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='p' type='markup'/>
|
|
|
|
|
|
|
|
<xs:element name='ul'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element ref='li' minOccurs='1' maxOccurs='unbounded'/>
|
|
|
|
</xs:sequence>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='ol'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element ref='li' minOccurs='1' maxOccurs='unbounded'/>
|
|
|
|
</xs:sequence>
|
|
|
|
<xs:attribute name='start' type='xs:byte' use='optional'/>
|
|
|
|
<xs:attribute name='type' type='xs:NCName' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='li' type='markup'/>
|
|
|
|
|
|
|
|
<xs:element name='img'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='empty'>
|
|
|
|
<xs:attribute name='source' use='required'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='link'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='xs:string'>
|
|
|
|
<xs:attribute name='url' use='required'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='note' type='markup'/>
|
|
|
|
|
|
|
|
<xs:element name='example'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='xs:string'>
|
|
|
|
<xs:attribute name='caption' use='optional'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='code'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='xs:string'>
|
|
|
|
<xs:attribute name='caption' use='optional'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='table'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:sequence>
|
|
|
|
<xs:element ref='tr' minOccurs='1' maxOccurs='unbounded'/>
|
|
|
|
</xs:sequence>
|
|
|
|
<xs:attribute name='caption' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='tr'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:choice>
|
|
|
|
<xs:element ref='th' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
<xs:element ref='td' minOccurs='0' maxOccurs='unbounded'/>
|
|
|
|
</xs:choice>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='th'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='xs:string'>
|
|
|
|
<xs:attribute name='colspan' use='optional'/>
|
|
|
|
<xs:attribute name='rowspan' use='optional'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:element name='td'>
|
|
|
|
<xs:complexType>
|
|
|
|
<xs:simpleContent>
|
|
|
|
<xs:extension base='xs:string'>
|
|
|
|
<xs:attribute name='colspan' use='optional'/>
|
|
|
|
<xs:attribute name='rowspan' use='optional'/>
|
|
|
|
</xs:extension>
|
|
|
|
</xs:simpleContent>
|
|
|
|
</xs:complexType>
|
|
|
|
</xs:element>
|
|
|
|
|
|
|
|
<xs:complexType name='markup' type='mixed'>
|
|
|
|
<xs:choice minOccurs='0' maxOccurs='unbounded'>
|
|
|
|
<xs:element name='cite' type='xs:token'/>
|
2007-01-24 14:43:52 -05:00
|
|
|
<xs:element name='dfn' type='xs:token'/>
|
2006-10-02 18:22:13 -04:00
|
|
|
<xs:element name='em' type='xs:token'/>
|
|
|
|
<xs:element ref='img'/>
|
|
|
|
<xs:element ref='link'/>
|
|
|
|
<xs:element ref='note'/>
|
|
|
|
<xs:element name='span' type='xs:token'/>
|
|
|
|
<xs:element name='strong' type='xs:token'/>
|
|
|
|
<xs:element name='tt' type='xs:token'/>
|
|
|
|
</xs:choice>
|
|
|
|
<xs:attribute name='class' type='xs:string' use='optional'/>
|
|
|
|
<xs:attribute name='style' type='xs:string' use='optional'/>
|
|
|
|
</xs:complexType>
|
|
|
|
|
|
|
|
<xs:simpleType name='empty'>
|
|
|
|
<xs:restriction base='xs:string'>
|
|
|
|
<xs:enumeration value=''/>
|
|
|
|
</xs:restriction>
|
|
|
|
</xs:simpleType>
|
|
|
|
|
|
|
|
</xs:schema>
|