1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-28 04:02:20 -05:00

XEP-0156: The XRD host-meta file is REQUIRED.

This commit is contained in:
Sam Whited 2016-06-07 18:47:57 -05:00
parent 837617b9e7
commit 20d8e4abbe
2 changed files with 8 additions and 0 deletions

View File

@ -25,6 +25,12 @@
&hildjj; &hildjj;
&stpeter; &stpeter;
&lance; &lance;
<revision>
<version>1.1.2</version>
<date>2016-06-07</date>
<initials>XSF Editor: ssw</initials>
<remark><p>Clarify that the XML version of the XRD document is required by the RFC and the JSON version is optional.</p></remark>
</revision>
<revision> <revision>
<version>1.1.1</version> <version>1.1.1</version>
<date>2016-06-06</date> <date>2016-06-06</date>
@ -173,6 +179,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 <cite>draft-ietf-xmpp-websocket</cite>.</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 <cite>draft-ietf-xmpp-websocket</cite>.</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'>
... ...

View File

@ -45,6 +45,7 @@ THE SOFTWARE.
<!ENTITY nbsp "&#160;"> <!ENTITY nbsp "&#160;">
<!ENTITY copy "&#169;"> <!ENTITY copy "&#169;">
<!ENTITY reg "&#174;"> <!ENTITY reg "&#174;">
<!ENTITY sect "&#167;">
<!-- shortcuts for stanza types and children --> <!-- shortcuts for stanza types and children -->