Error While Generate Document

Hi all,  We are using generate document action in one of the microflows. In template we have nested data view for entities over association. So far I have got to know that its happening due to ‘&’ character being entered by user, But strange thing is its allowing same character(&) in parent entity attributes but when I use same in child entity its throwing below error. So is there any solution for same or We just have to restrict user from entering same? Thanks in Advance!   com.mendix.webui.WebUIException: Exception while executing runtime operation     at com.mendix.webui.actions.client.RuntimeOperationAction.$anonfun$apply$1(RuntimeOperationAction.scala:60) Caused by: com.mendix.modules.microflowengine.MicroflowException: Error processing XHTML     at moduleName.microflowName (DocumentExport : 'Generate PDF (.pdf) document using template 'AssessmentReport'') Advanced stacktrace:     at com.mendix.modules.microflowengine.MicroflowUtil.processException( Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: Error processing XHTML     at com.mendix.documentexporter.focomponents.DynamicLabel$ Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.     at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)     at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)     at java.xml/javax.xml.parsers.DocumentBuilder.parse(     at com.mendix.documentexporter.focomponents.DynamicLabel$     at java.base/ Method)     at com.mendix.documentexporter.focomponents.DynamicLabel.parseHtml(     at com.mendix.documentexporter.focomponents.DynamicLabel.generateFO(     at com.mendix.documentexporter.focomponents.DocumentTemplateRepresentator.render(     at com.mendix.documentexporter.focomponents.Table.generateFO(     at com.mendix.documentexporter.focomponents.DocumentTemplateRepresentator.render(    
1 answers

Hi Vaibhav Thalkari,

Could it be the case that in the document template your Dynamic Label has the Render XHTML set to Yes?

Which would not allow a & sign?