Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Ampersand XML unterminated entity reference with & #50

Open
shahzadyounas opened this issue May 26, 2017 · 0 comments
Open

Ampersand XML unterminated entity reference with & #50

shahzadyounas opened this issue May 26, 2017 · 0 comments

Comments

@shahzadyounas
Copy link

shahzadyounas commented May 26, 2017

Hi

I am getting:

lPRODnode1 is reporting *Failed sending item 707990 with error:
Fabiang\Xmpp\Stream\XMLStream::createAttributeNodes(): unterminated entity reference

whenever my xmpp message to send has an & in it. I can see it is being escaped correctly ($message ->toString() shows "&"

Any ideas why I get this error when I try and send the xmpp msg? (fyi this occurs when I send the &amp as an attribute to a custom xml element sent in the xmpp message. Note I am running XML::quote on it as you do in your Message object.

Tx

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant