N°8306 - Wrong line number error if XML is over 65535 lines

This commit is contained in:
Eric Espie
2025-07-10 16:53:36 +02:00
parent 031305cfbf
commit 05642cdf84
2 changed files with 6 additions and 1 deletions

View File

@@ -71,6 +71,11 @@ class DesignDocument extends DOMDocument
$this->preserveWhiteSpace = true; // otherwise the formatOutput option would have no effect
}
public function loadXML(string $source, int $options = 0)
{
parent::loadXML($source, $options | LIBXML_BIGLINES);
}
/**
* Overload of the standard API
*