Hi Andreas,

yes, I'm sure, the FO is the same and correct. Even if I took a small example 
directly from the FOP-Source (the easiest one is the simple.fo from 
FOP\examples\fo\basic), a blank page will be created. And this simple.fo works, 
if I use it inside the test-program.
I can copy the generated code while debugging my servlet-bean and test this 
code inside the test-program too and this works fine. The only thing that could 
happen during the copy'n'paste is a conversion between UTF-8 to ISO-8859-1. But 
I don't think, this is a problem because the simple.fo works with copy'n'paste.

Michael

> 
> One more thing to check (don't know if you already took that step):
> Are you certain that the FO that gets passed to FOP (= the result of  
> the XSL transformation) is identical in both cases?
> 
> If there is nothing in the FO but two fo:page-sequences with one  
> empty fo:block, this could explain the two empty pages.
> 
> Via the command-line, you can obtain the FO through the '-foout'  
> command-line option.
> You could then try testing the servlet by passing it that FO and an  
> XSLT stylesheet performing an identity transform.
> 
> Another option is to alter the servlet to dump the intermediate FO to  
> a file, so you can inspect it.
> 
> 
> HTH!
> 
> Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to