[Standards] [PATCH] XEP-0124: fixing escaping

Winfried Tilanus winfried at tilanus.com
Mon Feb 17 12:46:21 UTC 2014


Fixing escapig in XML source of XEP-0124, all <body/> elements should be visible now.
Thanks to Christian Schudt for reporting.
---
 extensions/xep-0124.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extensions/xep-0124.xml b/extensions/xep-0124.xml
index 9d3556f..3c6fd3f 100644
--- a/extensions/xep-0124.xml
+++ b/extensions/xep-0124.xml
@@ -585,7 +585,7 @@ Content-Length: 68
     <p>Note: If the connection manager did not specify a 'polling' attribute in the session creation response, then it MUST allow the client to poll as frequently as it chooses.</p>
   </section1>
   <section1 topic='Terminating the BOSH Session' anchor='terminate'>
-    <p>At any time, the client MAY gracefully terminate the session by sending a <body/> element with a 'type' attribute set to "terminate". The termination request MAY include one or more payloads that the connection manager MUST forward to the server to ensure graceful logoff. The payload in the termination request SHOULD NOT need any response from the server.</p>
+    <p>At any time, the client MAY gracefully terminate the session by sending a <body/> element with a 'type' attribute set to "terminate". The termination request MAY include one or more payloads that the connection manager MUST forward to the server to ensure graceful logoff. The payload in the termination request SHOULD NOT need any response from the server.</p>
     <example caption="Session termination by client">
 <![CDATA[POST /webclient HTTP/1.1
 Host: httpcm.example.com
@@ -600,7 +600,7 @@ Content-Length: 153
   <presence type='unavailable'
             xmlns='jabber:client'/>
 </body>]]></example>
-    <p>The connection manager SHOULD respond to this request with an HTTP 200 OK containing an empty <body/> element. The connection manager SHOULD acknowledge the session termination on the oldest connection with a HTTP 200 OK containing a <body/> element of the type 'terminate'. On all other open connections, the connection manager SHOULD respond with an HTTP 200 OK containing an empty <body/> element.</p>
+    <p>The connection manager SHOULD respond to this request with an HTTP 200 OK containing an empty <body/> element. The connection manager SHOULD acknowledge the session termination on the oldest connection with a HTTP 200 OK containing a <body/> element of the type 'terminate'. On all other open connections, the connection manager SHOULD respond with an HTTP 200 OK containing an empty <body/> element.</p>
       <example caption="Connection manager acknowledges termination">
 <![CDATA[HTTP/1.1 200 OK
 Content-Type: text/xml; charset=utf-8
-- 
1.8.5.3




More information about the Standards mailing list