Florian Zeitz wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Brendan Taylor wrote:
XEP-0108 says:

    In addition, the *specific* activity element can be <other/> in order to
    handle activities not defined herein.

I read that to mean that you can do:

    <activity><eating><other/></eating></activity>

but not:

    <activity><other><something-else-entirely/></other></activity>

Is that incorrect? I'm not fluent in XML Schema.

Indeed it is. According to the XML Schema <other/> can be inside any
general activity, but not directly under the <activity/> element.
I already suggested adding a <something-else/> (just a placeholder name)
tag at the top level some time ago (not only for activity but also for
mood) and I think psa agreed it was a good idea, but somehow we both
forgot about that.

I haven't forgotten about it, just haven't gotten to it yet. :)

But I suppose we could allow <other/> as a child of <activity/> too.

/psa

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to