[Standards] XEP-0301 Annual review (In-Band Real Time Text)

Florian Schmaus flo at geekplace.eu
Tue Sep 29 21:17:25 UTC 2015


On 29.09.2015 22:44, Mark Rejhon wrote:
> There is this pending cosmetic errata, that we wish to confirm with
> XSF members:
> 
> Christian Schudt (of Babbler) says of XEP-0301:
> 
>>2. The XML Schema might be wrong, but I am not sure.
>>
>> <xs:sequence>
>>         <xs:element ref='t' minOccurs='0' maxOccurs='unbounded'/>
>>         <xs:element ref='e' minOccurs='0' maxOccurs='unbounded'/>
>>         <xs:element ref='w' minOccurs='0' maxOccurs='unbounded'/>
>>       </xs:sequence>
>>
>> I think this schema suggests elements to be in this exact sequence, e.g.
>> <t/><t/><t/><e/><e/><w/>
>>
>> I think a <xs:choice> is missing somewhere, something like:
>>
>> <xs:sequence>
>> <xs:choice minOccurs='0' maxOccurs='unbounded'>
>>         <xs:element ref='t'/>
>>         <xs:element ref='e'/>
>>         <xs:element ref='w'/>
>> </xs:choice>
>> </xs:sequence>
>>
>> But I am not sure about it.
> 
> If we fix the schema, would this force namespace to increment:
> i.e. urn:xmpp:rtt:1 instead of urn:xmpp:rtt:0

The schema is considered not normative, therefore this would not require
a namespace version bump.

- Florian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20150929/4e4e46d2/attachment.sig>


More information about the Standards mailing list