« Return to Thread: PDF Plugin Upgrade to 0.4 error

Re: PDF Plugin Upgrade to 0.4 error

by v.ceruti :: Rate this Message:

Reply to Author | View in Thread

Hi,

I've just installed the pdf plugin 0.4, the Simple pdf Demo works fine (inserting the following code in a gsp):

<g:pdfForm url="/pdf/demo2" filename="sample.pdf" method="get">
        <input type="hidden" name="name" value="ciao"/>
        <g:submitButton name="printPdf" value="pdfdemo" />
</g:pdfForm>

and I was getting the "famous" error
[67094] service.PdfService org.xhtmlrenderer.util.XRRuntimeException: Can't load the XML resource (using TRaX transformer). org.xml.sax.SAXParseException

when I used a simple gsp of mine instead of the demo.gsp because it uses a layput gsp that was not well formed! The suggestion is to verify validation with an XML validator.

I wish to be usefull...

 « Return to Thread: PDF Plugin Upgrade to 0.4 error