We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24a8b3f commit 2a9eb98Copy full SHA for 2a9eb98
1 file changed
src/XmlToArray.php
@@ -59,7 +59,7 @@ public static function &createArray($input_xml)
59
{
60
$xml = self::getXMLRoot();
61
if (is_string($input_xml)) {
62
- $parsed = $xml->loadXML($input_xml);
+ $parsed = $xml->loadXML($input_xml, LIBXML_COMPACT | LIBXML_PARSEHUGE);
63
if (!$parsed) {
64
throw new \Exception('[XML2Array] Error parsing the XML string.');
65
}
0 commit comments