The error from a few months ago was indeed a similar error, but that bug was related to the generation of a document using the Generate Document microflow action.
The reason that you get this error with an XML schema is that there is a security vulnerability concerning that, from the release notes from Mendix Studio Pro 7.23.6:
DOCTYPE
declarations in the XML input, because that is potentially unsafe.