1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-02-17 07:40:08 -05:00

XEP-0156: fix XML header on example

This commit is contained in:
Jonas Schäfer 2018-09-30 12:20:16 +02:00
parent b00bb1b823
commit 0fa79f76a6

View File

@ -25,6 +25,12 @@
&hildjj; &hildjj;
&stpeter; &stpeter;
&lance; &lance;
<revision>
<version>1.1.4</version>
<date>2018-09-30</date>
<initials>jsc</initials>
<p>Fix XML header on example.</p>
</revision>
<revision> <revision>
<version>1.1.3</version> <version>1.1.3</version>
<date>2018-07-21</date> <date>2018-07-21</date>
@ -191,7 +197,7 @@ _xmppconnect IN TXT "_xmpp-client-websocket=wss://web.example.com:443/ws"
<section2 topic='Examples' anchor='httpexamples'> <section2 topic='Examples' anchor='httpexamples'>
<p>The following examples show two host-meta link records: the first indicates support for the XMPP Over BOSH connection method defined in <cite>XEP-0124</cite> and <cite>XEP-0206</cite> and the second indicates support for the XMPP Over WebSocket connection method defined in &rfc7395;.</p> <p>The following examples show two host-meta link records: the first indicates support for the XMPP Over BOSH connection method defined in <cite>XEP-0124</cite> and <cite>XEP-0206</cite> and the second indicates support for the XMPP Over WebSocket connection method defined in &rfc7395;.</p>
<p>As specified in <cite>RFC 6120</cite> &sect;3, support for the XML encoding of the host-meta resource is REQUIRED while alternative representations such as JSON are OPTIONAL.</p> <p>As specified in <cite>RFC 6120</cite> &sect;3, support for the XML encoding of the host-meta resource is REQUIRED while alternative representations such as JSON are OPTIONAL.</p>
<example caption='Result for /.well-known/host-meta'><![CDATA[<?xml version='1.0' encoding=utf-8'?> <example caption='Result for /.well-known/host-meta'><![CDATA[<?xml version='1.0' encoding='utf-8'?>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
... ...
<Link rel="urn:xmpp:alt-connections:xbosh" <Link rel="urn:xmpp:alt-connections:xbosh"