InDesign 17.2 Export XML crashes
Adobe InDesign 22.214.171.124
Upon exporting XML from an InDesign file, InDesign crashes. This does not happen with Adobe InDesign 126.96.36.199.
Please see attached crash logs and error messages received from InDesign.
Contacted the user to investigate this issue further.
We tend to see this issue when we are processing a batch of files via a script we have built for InDesign. For example, we have a batch of 70 or 80 .indd files that we want to export the XML from. A script we have will process and export the XML for each .indd file and at some point in the batch (not consistent) we see a file fail the export which stops the script. The errors I included are what we receive when the export of XML causes InDesign to crash. We have also seen the issue with importing XML into a file in a similar batch.
It is our belief that this issue can be reproduced with a similar sized batch of InDesign files where one would export XML out of each file.
So to summarize, we do not see this with a specific file, more the batching of files and eventually something in the import or export of XML fails. And we didn't see this on InDesign 17.1, but it has been observed under the circumstances described with InDesign 17.2.
This is the code snippet we are executing when exporting XML via the script.
// Set the flag to export Ruby Text if supported.
myDocument.xmlExportPreferences.ruby = true
// Export the whole XML file to the specified file name
Additional dump files attached.
Additional dump file