Permalink
Browse files

default value of subscription attribute is none

git-svn-id: svn://svn.xmpp.org:7938/xmpp/trunk@3284 4b5297f7-1745-476d-ba37-a9c6900126ab
  • Loading branch information...
1 parent ec0e0b0 commit edd9b53a04f7bd4c21d655e10696b65595338acc @stpeter stpeter committed Jun 26, 2009
Showing with 4 additions and 4 deletions.
  1. +4 −4 internet-drafts/draft-ietf-xmpp-3921bis-01.xml
@@ -5,7 +5,7 @@
<?rfc symrefs="yes"?>
<?rfc toc="yes"?>
<?rfc tocdepth="4"?>
-<rfc category="std" docName="draft-ietf-xmpp-3921bis-00" ipr="trust200902" obsoletes="3921">
+<rfc category="std" docName="draft-ietf-xmpp-3921bis-01" ipr="trust200902" obsoletes="3921">
<front>
<title abbrev="XMPP IM">Extensible Messaging and Presence Protocol (XMPP): Instant Messaging and Presence</title>
@@ -15,7 +15,7 @@
<email>psaintan@cisco.com</email>
</address>
</author>
- <date year="2009" month="June" day="1"/>
+ <date year="2009" month="June" day="26"/>
<area>Applications</area>
<keyword>XMPP</keyword>
<keyword>Extensible Messaging and Presence Protocol</keyword>
@@ -237,7 +237,7 @@ S: <iq to='juliet@example.com/chamber'
<t>The state of the presence subscription in relation to a roster item is captured in the 'subscription' attribute of the &lt;item/&gt; element. Allowable subscription-related values for this attribute are:</t>
<t>
<list style="symbols">
- <t>"none" -- the user does not have a subscription to the contact's presence, and the contact does not have a subscription to the user's presence</t>
+ <t>"none" -- the user does not have a subscription to the contact's presence, and the contact does not have a subscription to the user's presence; this is the default value, so if the subscription attribute is not included then the state is to be understood as "none"</t>
<t>"to" -- the user has a subscription to the contact's presence, but the contact does not have a subscription to the user's presence</t>
<t>"from" -- the contact has a subscription to the user's presence, but the user does not have a subscription to the contact's presence</t>
<t>"both" -- both the user and the contact have subscriptions to each other's presence (also called a "mutual subscription")</t>
@@ -3473,7 +3473,7 @@ US: </stream:stream>
</xs:attribute>
<xs:attribute name='jid' type='xs:string' use='required'/>
<xs:attribute name='name' type='xs:string' use='optional'/>
- <xs:attribute name='subscription' use='optional'>
+ <xs:attribute name='subscription' use='optional' default='none'>
<xs:simpleType>
<xs:restriction base='xs:NCName'>
<xs:enumeration value='both'/>

0 comments on commit edd9b53

Please sign in to comment.