mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-06-01 22:09:20 +02:00
ed0a1cd8cf
The Jingle XEP says [1]: > The <reason/> element MAY contain a <text/> element that provides > human-readable information about the reason for the action. It says nowhere that there may be more than one `<text/>` element in there, or that they may be qualified by xml:lang. The schema [2] also agrees with that: > ``` > <xs:complexType name='reasonElementType'> > <xs:sequence> > <xs:choice> > <!-- … omitted … --> > </xs:choice> > <xs:element name='text' type='xs:string' minOccurs='0' maxOccurs='1'/> > <!-- … omitted … --> > </xs:sequence> > </xs:complexType> > ``` [1]: https://xmpp.org/extensions/xep-0166.html#def-reason [2]: https://xmpp.org/extensions/xep-0166.html#schema-jingle |
||
---|---|---|
.. | ||
examples | ||
src | ||
Cargo.toml | ||
ChangeLog | ||
doap.xml | ||
LICENSE | ||
README.md |
xmpp-parsers
What’s this?
A crate which provides parsers and serialisers for most XMPP elements, to avoid having to deal with XML manually. It validates its inputs by default, and aims at providing useful errors when a particular XML element was invalid.
What license is it under?
MPL-2.0 or later, see the LICENSE
file.