Prosody returns error "Invalid IQ type or incorrect number of children"[1] 
when I try to include original request body in error IQ response. According 
to the specs[2] it should be allowed. Is it intended behaviour ?

<stanza-kind to='sender' type='error'>
  [RECOMMENDED to include sender XML here]
  <error type='error-type'>
    <defined-condition xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'/>
    <text xmlns='urn:ietf:params:xml:ns:xmpp-stanzas'
      OPTIONAL descriptive text
    [OPTIONAL application-specific condition element]

[1]: https://github.com/bjc/prosody/blob/master/core/stanza_router.lua#L66
[2]: http://xmpp.org/rfcs/rfc3920.html#stanzas-error


You received this message because you are subscribed to the Google Groups 
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prosody-dev+unsubscr...@googlegroups.com.
To post to this group, send email to prosody-dev@googlegroups.com.
Visit this group at http://groups.google.com/group/prosody-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to