This fix corrects an issue with the named temporary file in the xml importer.
This issue is caused by the use of the NamedTemporaryFile from Django's implementation, which is not meant for external use and does not implement several keywords: https://code.djangoproject.com/wiki/NamedTemporaryFile
The other option for this solution would be to use the python language named temporary file, which may not work properly on windows systems as well: https://docs.python.org/3/library/tempfile.html
This fix corrects an issue with the named temporary file in the xml importer.
This issue is caused by the use of the NamedTemporaryFile from Django's implementation, which is not meant for external use and does not implement several keywords: https://code.djangoproject.com/wiki/NamedTemporaryFile
The other option for this solution would be to use the python language named temporary file, which may not work properly on windows systems as well: https://docs.python.org/3/library/tempfile.html