Expand my Community achievements bar.

Can not Render the form

Avatar

Former Community Member
Hi all,<br /><br />I am a beginner and have a trouble with Form Server Render Form Q-pac.<br /><br />I try to render PDF from a xml file using Q-pac. But error message below returns.<br /><br />i com.adobe.formServer.interfaces.RenderFormException: java.lang.Exception: <br />i xmldata: The content of elements must consist of well-formed character data or markup.<br /><br />I do not know what this error message means. But using DocumenteExport Q-pac, I tried to write form variables to file. I set the document variable export to the file. <br /> I noticed that CR is inserted in the strange point like this.<br /><br />i <?xml version="1.0" encoding="UTF-8"?><br /><br />i <?xfa generator="XFA2_4" APIVersion="2.4.6053.0"?><br /><br />i <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><br /><br />i <xfa:datasets xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/"<br /><br />i ><xfa:data<br /><br />i ><Message<br /><br />i ><DecideRoute<br /><br />i ><Route<br /><br />i >Process</Route<br /><br />i ></DecideRoute<br /><br />i ><FormName<br /><br />i ><Form <br /><br />I am grateful thanks to someone to let me know how the error message means and why the CR appears in the strange points.<br /><br />Regards,<br />Akira
4 Replies

Avatar

Level 9
Hi Akira

It's nothing to do with carriage returns - something else is going wrong. Please send the values that you're entering into the RenderForm QPAC.

You may also try our RenderPlus QPAC, which you can download from:

http://www.avoka.com/avoka/qpac_library.shtml

It does the same thing, but is a little easier to use.

Howard

Avatar

Former Community Member
Your error says: xmldata: The content of elements must consist of well-formed character data or markup.



This indicates that the xmldata you are sending into your workflow is not properly created/formed (The input to the your Form Server Render Form Q-pac is not following specific standards).



According to http://www.w3schools.com/xml/xml_dtd.asp:



A "Well Formed" XML document is a document that conforms to the XML syntax rules that were described in the previous chapters:



* XML documents must have a root element

* XML elements must have a closing tag

* XML tags are case sensitive

* XML elements must be properly nested

* XML attribute values must always be quoted

Avatar

Former Community Member
Hi Howard and David,



David,

I checked all the xsd files being included by the form, but I could not find the wrong point. I will keep checking. Thanks.



Howard,

Thank you for your advice. I downloaded the RenderPlus Q-pac from the Aboka websites(Are you a member of Avoka?). This Q-pac worked well!

It seems that this form becomes a static PDF though I saved this file as a dynamic PDF. I do not have a authority to buy a software license, so I will ask the server administrator to buy this Q-pac.



I am very thanks to your advice.



Regards,

Akira

Avatar

Level 9
Hi Akira



To make the form dynamic, you must use the "PDFForm" option instead of "PDF".



I'm glad you've managed to get RenderPlus working.

And yes, I am an employee of Avoka.



Regards,

Howard