126 lines
4.6 KiB

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE xep SYSTEM 'xep.dtd' [
<!ENTITY % ents SYSTEM 'xep.ent'>
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
<title>XEP Template</title>
<abstract>This specification provides an example of the format for XMPP Extension Protocols (XEPs).</abstract>
<type>Standards Track</type>
<spec>XMPP Core</spec>
<remark><p>First draft.</p></remark>
<section1 topic='Introduction' anchor='intro'>
<p>This is a template for use in writing XMPP Extension Protocol specifications (XEPs). For detailed information about the XSF's standards process and how to write a XEP, refer to "XEP-0001: XMPP Extension Protocols" and "XEP-0143: Guidelines for Authors of XMPP Extension Protocols".</p>
<section1 topic='Requirements' anchor='reqs'>
<section1 topic='Glossary' anchor='glossary'>
<section1 topic='Use Cases' anchor='usecases'>
<section1 topic='Business Rules' anchor='rules'>
<section1 topic='Implementation Notes' anchor='impl'>
<section1 topic='Accessibility Considerations' anchor='access'>
<section1 topic='Internationalization Considerations' anchor='i18n'>
<section1 topic='Security Considerations' anchor='security'>
<section1 topic='IANA Considerations' anchor='iana'>
<section1 topic='XMPP Registrar Considerations' anchor='registrar'>
<section1 topic='Design Considerations' anchor='design'>
<!-- Use this section to describe other approaches which have been considered
during the design of this protocol and why they have been rejected. Having
the result and a summary of long or complicated discussions in the document
itself instead of list or chat archives serves future readers. -->
<section1 topic='XEP Styling Examples (1st Level Heading)' anchor='styling'>
<p>PLEASE REMOVE THIS SECTION. These are just examples for the RECOMMENDED ways to style your XEP.</p>
<section2 topic='2nd Level Heading' anchor='styling-examples'>
<p>This is regular XEP text. It can contain <strong>strong</strong> and <em>emphasized</em> markup as well as <tt>fixed-width text</tt>.</p>
<p>This is text with a line break.<br/>New line.</p>
<p>This is text with a footnote<note>This is the footnote.</note>.</p>
<p>This is a <link url='#styling-examples'>link to a section in this document</link>.</p>
<p>This is a reference to another XEP: &xep0001;, it can be re-referenced as <cite>XEP-0001</cite> later in the text.</p>
<code caption='Code block caption'>Code block content.</code>
<li>This is an ordered list. First item</li>
<li>Second item</li>
<li>This is an unordered list. First item</li>
<li>Second item</li>
<dt>Definition List</dt>
A definition list contains definition items with a title and a description.
<p class='box'>Note: This is an informational box</p>
<example caption='Example of embedding XMPP XML'><![CDATA[
<iq from='hag66@shakespeare.lit/pda'
<query xmlns='http://jabber.org/protocol/disco#items'/>
<cve id="2017-5589" url="https://rt-solutions.de/en/cve-2017-5589_xmpp_carbons/">Name of a CVE relevant to the XEP</cve>
<cve id="2017-5589">Another CVE with no primary source</cve>
<section3 topic='3rd Level Heading' anchor='syling-examples-3rd'>
<p>Text in a Sub-Sub-Section.</p>
<section4 topic='4th Level Heading' anchor='syling-examples-4th'>
<p>Text in a Sub-Sub-Sub-Section.</p>
<section1 topic='XML Schema' anchor='schema'>
<p>REQUIRED for protocol specifications.</p>