Xavier Ottolini wrote:
Hi,
I want to build a PDF file with a XSL transformation. I use FOP 0.93
on Tomcat 4.3 (Windows) . Fop is embeded in a JSP.
If I run FOP as a standalone application. The XSL transform is ran
successfully. But In my embeded class, an exception is thrown :
Xavier Ottolini wrote:
org.apache.fop.fo.ValidationException: Error(Unknown location):
fo:table-body is missing child elements.
Required Content Model: marker* (table-row+|table-cell+)
PS: your templates shows that you do have a matching template,
containing well enough literal result
Thanks you Abel.
I'll check the DOM tree to see if some elements are missing.
I'll also add a test before adding the table.
Xavier
Abel Braaksma a écrit :
Xavier Ottolini wrote:
org.apache.fop.fo.ValidationException: Error(Unknown location):
fo:table-body is missing child elements.
Required
On 11.01.2007 01:22:04 pwillsey wrote:
Jeremias Maerki-2 wrote:
Ok, in this case I'd modify the application so you can write out the
generated FO within your application. Maybe there's something special
about that environment.
I modified the application to do this and then I
You were right, it was just an error in the XML document. Thanks.
Xavier Ottolini a écrit :
Thanks you Abel.
I'll check the DOM tree to see if some elements are missing.
I'll also add a test before adding the table.
Xavier
Abel Braaksma a écrit :
Xavier Ottolini wrote:
Have you tried using a footnote?
On 12.01.2007 10:45:19 raja k wrote:
Hi,
I am using xml and xsl to generate PDF. In xsl I have table which is
basically a signature block.
My requirement is to align this table to the bottom of a page (just above
footer). Currently, I have given spaces
I modified the fop.xconf file as follow
!-- Base URL for resolving relative URLs --
baseD:\Applications\jakarta-tomcat-4.1.30\webapps\opencms\export\xsl\/base
Then I modified my script as follow
FopFactory fopFactory = FopFactory.newInstance();
FOUserAgent foUserAgent =
And what is that problem? If you mean the INFO messages, you can
eliminate them by configuring the loggers so the messages don't appear
anymore. They are purely informational.
On 12.01.2007 12:16:51 Xavier Ottolini wrote:
I modified the fop.xconf file as follow
!-- Base URL for resolving
No. I had a problem because the HTTP header was wrong.
Althougg my method specified the http response,
this.response.setContentType(application/pdf);
this.response.setContentLength(out.size());
//Send content to Browser
I have been running FOP .92 successfully. When I download the new .93
fop.jar and run, I receive the following error:
NoSuchMethodError at
org.apache.fop.fo.ElementMappingRegistry.setupDefaultMappings. The error is
triggered when attempting to create the FopFactory.newInstance( ).
I have
Hi,
After deploying my application with FOP I have got a curious problem. A
PDF is generated but without any text. The file is completely white.
There is no text inside. No error is displayed.
The terminal shows ordinary messages. With the system prompt, I saw that
the request returns
Do you have line numbers where the NoSuchMethodError happens? I'd dare
say you have an old xmlgraphics-commons.jar in your classpath. FOP 0.93
need version 1.1.
On 12.01.2007 15:51:48 tahjmh wrote:
I have been running FOP .92 successfully. When I download the new .93
fop.jar and run, I
Hi,
My problem is really serious.
I checked that the XML source normaly buid OK. The XSL has not changed.
If I print
out.size();
It returns 207658.
I do not know why is my page white.
Has anybody already meet such problem ?
Best Regards
Xavier
Xavier Ottolini a écrit :
Hi,
After
Xavier Ottolini wrote:
Hi,
After deploying my application with FOP I have got a curious problem. A
PDF is generated but without any text. The file is completely white.
There is no text inside. No error is displayed.
What kind of Application are you deploying? If you are running FOP
inside
That was it. I knew the jar changed and thought I had updated it. After
getting your message, I verified it had been changed and it works. Thank
you!
Jeremias Maerki-2 wrote:
Do you have line numbers where the NoSuchMethodError happens? I'd dare
say you have an old
Write the byte array with the PDF to a file for debugging and check if
it is still blank when opened outside the browser. If it is not, at
least you will know that it's a browser problem. If it is blank, please
post the PDF so we can take a look what could be wrong.
Make sure the URL used to
16 matches
Mail list logo