Closed dale3h closed 7 years ago
hey @dale3h, sorry for getting back to you this late.
thank you for your fix. had already some issues with the stripping of CDATA
content and ltx
, too bad it appears now again.
a possible workaround using a custom parser with StreamParser
sounds very promising. though i also have not looked into it further.
version 1.1.10
is available on npm
👍
:heart:
A recent update/overhaul of the
node-xmpp
package broke this module. The simplest workaround (for now) is to force the version ofnode-xmpp-client
to 3.0.0 andnode-xmpp-stanza
to 1.1.0.The parser now used in
node-xmpp
is stripping the<![CDATA[ ... ]]>
from the stanza. Until this is resolved in the parser itself (ltx), it will not function properly.While I was digging around, I did notice that you can use the
options
argument of the StreamParser to select your own parser. However, I do not know if this is something that is accessible from our side of thenode-xmpp
package.node-xmpp-client
3.0.0 debug output:node-xmpp-client
3.0.2 debug output: