Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleXMLElement::addChild erzeugt Warnung #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nbartels
Copy link

Wenn man das Docker Image verwendet, wird beim Aufruf der test.html nach dem Absenden unter Umständen Warnings in den Output generiert:

SimpleXMLElement::addChild(): unterminated entity reference

Anscheinend beschreibt die Warning, dass im Value Symbole genutzt werden, die im XML eine besondere Bedeutung haben. Also bspw &. Dies kann man bei Namen wie "Schmitt GmbH & Co KG" sehen.

lazyfrosch added a commit to lazyfrosch/OnlineTelefonbuch that referenced this pull request Mar 5, 2022
Copy link
Contributor

@lazyfrosch lazyfrosch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will ensure that the content of each XML element is escaped

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

Successfully merging this pull request may close these issues.

2 participants