mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-06-17 13:25:25 +02:00
b5de6cb82c
The Jingle XEP states [1] that the `<reason/>` element may contain up to one element which further qualifies the error condition: > The <reason/> element MAY contain an element qualified by some other > namespace that provides more detailed machine-readable information > about the reason for the action. The schema agrees: > ``` > <xs:complexType name='reasonElementType'> > <xs:sequence> > <xs:choice> > <!-- … omitted … --> > </xs:choice> > <!-- … omitted … --> > <xs:any namespace='##other' minOccurs='0' maxOccurs='1'/> > </xs:sequence> > </xs:complexType> > ``` [1]: https://xmpp.org/extensions/xep-0166.html#def-reason |
||
---|---|---|
.. | ||
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.