Application Server FOP Problem: Mismatch: page-sequence vs. root

2008-08-15 Thread Tobias van Treeck
Hi! I am running FOP and convert an XML+XSL-FOP-PDF. Locally everything is working fine but on the app server i get the following error message: org.xml.sax.SAXException: Mismatch: page-sequence (http://www.w3.org/1999/XSL/Format) vs. root (http://www.w3.org/1999/XSL/Format) Environment:

Re: Application Server FOP Problem: Mismatch: page-sequence vs. root

2008-08-15 Thread Tobias van Treeck
haven't had the chance to really look into avoiding unhelpful exceptions like that. Maybe that helps. On 15.08.2008 13:03:46 Tobias van Treeck wrote: Hi! I am running FOP and convert an XML+XSL-FOP-PDF. Locally everything is working fine but on the app server i get the following error

Re: Application Server FOP Problem: Mismatch: page-sequence vs. root

2008-08-18 Thread Tobias van Treeck
inside Xalan due to the SAXException. You've missed the nested SAXException. But it wouldn't help anyway. As I said, this exception is only a follow-up thing. There must be something else going wrong before that mismatch is encountered. On 15.08.2008 15:11:24 Tobias van Treeck wrote: I

Re: Problems with Apache FOP and Barcode4j

2008-08-21 Thread Tobias van Treeck
Hi Miguel, i had a similar problem recently. I also generated a PDF with a barcode and an image. I got the exact same error you got (root vs. page-sequence) and the reason was a wrong parameter in a table i used (for the column-with i used % instead of cm) Now i have serval suggestions for you:

Re: Problems with Apache FOP and Barcode4j

2008-08-21 Thread Tobias van Treeck
-2.7.1.jar xml-apis-1.3.04.jar xml-apis-ext-1.3.04.jar xmlgraphics-commons-1.3.1.jar Do you got all those? Regards, ToM Hi ToM Tobias van Treeck wrote: Hi Miguel, i had a similar problem recently. I also generated a PDF with a barcode and an image. I got the exact same error you

Re: FOP 0.93 vs 0.94 vs 0.95

2008-08-25 Thread Tobias van Treeck
Hi, can you post your FO or your stylesheet? PercentLength.toString Seems to be a problem with that line. Do you use percent somewhere? Regards, ToM Hello I have an FO file and I want to use it to generate a PDF File. When I use FOP 0.93 by command line, everything works fine. A PDF file

XMP - iText - Watermark Problem

2008-10-29 Thread Tobias van Treeck
Hi, i generate a pdf with fop and afterwards i add a watermark. Until i didn't set the following meta data this.foUserAgent.setCreator(Creator); this.foUserAgent.setAuthor(Author); this.foUserAgent.setTitle(Title);  it worked but now i get the following message: The prefix x for element

Re: XMP - iText - Watermark Problem

2008-10-29 Thread Tobias van Treeck
(javax.xml.transform) implementation you're using. The namespace declarations are not properly generated. Please use a recent Xalan-J or SAXON. See here for instructions: http://xml.apache.org/xalan-j/faq.html#faq-N100EF On 29.10.2008 13:26:22 Tobias van Treeck wrote: Hi, i generate a pdf

Re: XMP - iText - Watermark Problem

2008-10-29 Thread Tobias van Treeck
/xalan-j/faq.html#faq-N100EF On 29.10.2008 13:26:22 Tobias van Treeck wrote: Hi, i generate a pdf with fop and afterwards i add a watermark. Until i didn't set the following meta data this.foUserAgent.setCreator(Creator); this.foUserAgent.setAuthor(Author

Re: Add Watermark to PDF file

2008-11-24 Thread Tobias van Treeck
I don't know if that's possible with FOP. But you can use iText to easily add a watermark to an (existing) pdf. 1. GenerateFOP to generate a pdf 2. Use iText to add watermark http://itextdocs.lowagie.com/tutorial/general/copystamp/index.php Regards, ToM Hi How can i add watermark to a PDF

FOP ApplicationServer Environment (Multithread)

2008-11-26 Thread Tobias van Treeck
Hi, we use FOP 0.95 in an application server environment. Recently we did some loadtests and everything is fine so far, except for one small issue: Tests: - 5 parallel users - bea application server We get an exception in the very first run in the initialization phase of FOP. When the first

Re: Problem with Acrobat Reader versions

2008-12-03 Thread Tobias van Treeck
For that we would need the PDF file for further analysis... Regards, ToM I generated a PDF using fop 0.95. I can open the resulting file with Acrobat Reader 5, but when I try to open the same file with Acrobat Reader 7 o 8 I get an Error: se ha producido un error de dibujo (translated: An

Re: Fop.next release?

2009-09-21 Thread Tobias van Treeck
Hi, we also plan a new version of our product and would appreciate a new official version of FOP (0.96 then?) Until now we set on 0.95 but looking forward to the new features ... Regards, ToM 2009/9/21 spepp...@leverkruid.eu Quoting Peter Coppens pc.subscripti...@gmail.com: Fop fans, It

Re: AW: Zero width space is displayed as junk charac ter [â€] in PDF

2009-11-09 Thread Tobias van Treeck
/xsl:attribute Any idea... *Thanks SN Personally I'm always ready to learn, although I do not always like being taught * -- *From:* Tobias van Treeck tvtre...@nepatec.de *To:* fop-users@xmlgraphics.apache.org *Sent:* Fri, 6 November, 2009 7:01:50 PM *Subject

Re: Help me please! How to FOP + barcode4j + Code128 set C?

2010-01-13 Thread Tobias van Treeck
And in addition to that, you can see the following at the development trunk: codesets{string:ABC}/codesets - You need the C codeset so set it to 'C' - this means that you have to use the current trunk and put that lib into FOP. After that you should be able to use the codeset... Regards, ToM

Re: Help me please! How to FOP + barcode4j + Code128 set C?

2010-01-14 Thread Tobias van Treeck
please don't mind my asking, but to which exact value did you set the xml? Just to that? codesetsC/codesets The codeset is definied as: Code 128 codesets can be restricted to A, B, C or a combination of the three. Example: AB enables A and B. C just enables C and therefore only allows an even

Re: Help me please! How to FOP + barcode4j + Code128 set C?

2010-01-14 Thread Tobias van Treeck
/msg)/            /fo:instream-foreign-object Tobias van Treeck wrote: please don't mind my asking, but to which exact value did you set the xml? Just to that? codesetsC/codesets The codeset is definied as: Code 128 codesets can be restricted to A, B, C or a combination of the three