Skip to content

Commit 2a9eb98

Browse files
authored
FIx Xml2array
1 parent 24a8b3f commit 2a9eb98

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/XmlToArray.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static function &createArray($input_xml)
5959
{
6060
$xml = self::getXMLRoot();
6161
if (is_string($input_xml)) {
62-
$parsed = $xml->loadXML($input_xml);
62+
$parsed = $xml->loadXML($input_xml, LIBXML_COMPACT | LIBXML_PARSEHUGE);
6363
if (!$parsed) {
6464
throw new \Exception('[XML2Array] Error parsing the XML string.');
6565
}

0 commit comments

Comments
 (0)