Closed rgabruel closed 10 years ago
The class SimpleXMLElement addChild method doesn't protect against adding values with ampersand and escape characters to an XML node causing malforming XML. In order to achieve that the child node need to be added first and then assign the value.
SimpleXMLElement
addChild
This should fix the regression of #10 caused by #15.
The class
SimpleXMLElement
addChild
method doesn't protect against adding values with ampersand and escape characters to an XML node causing malforming XML. In order to achieve that the child node need to be added first and then assign the value.