Appendix D of RFC6121<http://tools.ietf.org/html/rfc6121#appendix-D> specifies 
the ask attribute of an item in a jabber:iq:roster as below:

<xs:attribute name='ask' use='optional'>
        <xs:simpleType>
               <xs:restriction base='xs:NMTOKEN'>
                       <xs:enumeration value='subscribe'/>
               </xs:restriction>
        </xs:simpleType>
</xs:attribute>

But the XSD in the Git repository<http://xmpp.org/schemas/roster.xsd> defines 
the same as:

<xs:attribute name="ask" use="optional">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="subscribed"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

Which is correct?

-- Bala

Reply via email to