-
Bug
-
Resolution: Fixed
-
Minor
-
2.2.9, 2.3.6, 2.4.3, 3.0.4, 3.3.1, 3.3.4, 3.4.1, 3.5
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_30_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE, MOODLE_35_STABLE
-
MOODLE_35_STABLE
-
MDL-38829-master -
Moodle 2.2.9 with libxml v 2.7.6
When importing a XML question file that exceeds ~10000KB you receive an error:
Parsing questions from import file.
Error importing question Error parsing XML: No memory at line 141214, char 8
There are no questions in the import file
Import error
More information about this error
Stack trace:
line 435 of /lib/setuplib.php: moodle_exception thrown
line 120 of /question/import.php: call to print_error()
However if I import the same file into the site with libxml version < 2.7.3 - the import works fine.
I have tested with 2.3.6+ and 2.4.3+ code as well.
I believe this is related to: