#111043Restore oversized XML parser test coverage
Description
The 10mb dataset in Typo3XmlParserTest has been disabled since #104218, with a TODO requesting investigation.
The dataset creates a single text node of 10 MiB (10,485,760 bytes), exceeding libxml’s default limit of 10,000,000 bytes. On PHP 8.5.7 with libxml 2.13.9, parsing succeeds at exactly 10,000,000 bytes and fails at 10,000,001 bytes. The original dataset succeeds when LIBXML_PARSEHUGE is explicitly supplied through the existing LOAD_OPTIONS.
Replace the disabled dataset with an active 10 MiB case using LIBXML_PARSEHUGE, and add a test verifying rejection above the default limit. Remove the TODO and use MiB in dataset names to reflect the generated sizes
Reviews 2
History 13
-
Gerrit Code Review pushed patch set 1 for main to change 96670 status
NewUnder Review <span data-processor="relativetime" data-value="2026-10-13T19:04:45+00:00" > 10/13/26, 19:04 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 96672 <span data-processor="relativetime" data-value="2026-10-14T06:50:22+00:00" > 10/14/26, 06:50 </span>
-
Wouter Wolters commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-10-14T06:55:14+00:00" > 10/14/26, 06:55 </span>
Applied in changeset commit:91cb4b3315337083e47b5e381ab4b0f28b08e603.