Java Mailing List Archive

http://www.java2.5341.com/

Home » fop-users.xmlgraphics »

pdf file not closed in case of invalid fo / fop Trunk

Christian Pestel

2012-05-29

Replies: Find Java Web Hosting

Author LoginPost Reply
Hello developpers,
 
When an invalid fo is converted to pdf, a Fop error occured.
Created pdf file has a zero filesize, and it’s not possible to delete the pdf file because file seems not closed by Fop in this case; the only solution is to restart java.exe.
 
in my example, I replace fo: block by fo: block1

 

org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}block1" is not a valid child of "fo:flow"!

 

 

Christian Pestel

christian.pestel@orange.fr

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.