1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 06:12:05 +01:00
Smack/smack-core/src
Florian Schmaus a3fcbdbf5a Make Stanza.appendErrorIfExists() aware of the enclosing XML namespace
Originally discovered by Paul Schaub:

Fixes an inconvenience, where an IQ with the implicit namespace
`jabber:client` would append the namespace to an error child element
like this:

```
<iq (xmlns='jabber:client) <!-- in parenthesis since the NS is implicit --> ... >
    <error xmlns='jabber:client' <!-- this NS is too much --> ... />
</iq>
``
2018-08-01 13:16:20 +02:00
..
integration-test Add XMPPErrorException.getStanzaError() 2018-06-20 22:17:11 +02:00
main Make Stanza.appendErrorIfExists() aware of the enclosing XML namespace 2018-08-01 13:16:20 +02:00
test Add XMPPErrorException.getStanzaError() 2018-06-20 22:17:11 +02:00