Generate PDF: XML document structures must start and end within the same entity

Hey there, in some cases when generating a pdf, we get the error mentioned below. The PDF template contains a listview with a DS microflow. The data that is retrieved  and the configuration of the template looks to be OK, since the generation works in most cases. We think that the number of objects retrieved for the listview causes the error, since the error does not occur when we retrieve 5 objects, but does occur when we retrieve 50. Is anybody familiar with this issue? Thanks! 10:37:57APPINFOat GroupFunctionTemplateManager.SF_GDMC_CreatePDF (DocumentExport : 'Generate PDF (.pdf) document using template 'GDMC_PDF_Template'') 10:37:57APPINFOAdvanced stacktrace: 10:37:57APPINFOat com.mendix.modules.microflowengine.MicroflowUtil.processException( 10:37:57APPINFOCaused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Error processing XHTML 10:37:57APPINFOat com.mendix.documentexporter.focomponents.DynamicLabel$ 10:37:57APPINFOCaused by: net.sf.saxon.trans.XPathException: org.xml.sax.SAXParseException; lineNumber: 17; columnNumber: 7; XML document structures must start and end within the same entity.
0 answers