RE: ERROR -2
Thanks, Ive canned the lazy Xalan option and rewriting my xslt/html in xslt/fo so hopefully Ill avoid this error. Thanks for your help everyone. Great user group. -Original Message- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: 24 September 2004 23:21 To: [EMAIL PROTECTED] Subject: Re: ERROR -2 J.Pietschmann wrote: No idea where this comes from. Anyone else got an idea? It's a known Xalan bug. Darn, I confused it with the Xalan 2.0 bug which printed a +N sometimes. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ERROR -2
Mark Donnelly wrote: snip/ java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.ja va:130) This is the key to solving the problem. Looks like you have defined a table row with more cells than columns have been defined in the table. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ERROR -2
Thanks, Ill check it out. I used Xalan to transform a HTML document but perhaps Ill just modify my xslt to be xslfo to have more control. -Original Message- From: Chris Bowditch [mailto:[EMAIL PROTECTED] Sent: 24 September 2004 11:39 To: [EMAIL PROTECTED] Subject: Re: ERROR -2 Mark Donnelly wrote: snip/ java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.ja va:130) This is the key to solving the problem. Looks like you have defined a table row with more cells than columns have been defined in the table. Chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ERROR -2
Jeremias Maerki wrote: No idea where this comes from. Anyone else got an idea? It's a known Xalan bug. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ERROR -2
J.Pietschmann wrote: No idea where this comes from. Anyone else got an idea? It's a known Xalan bug. Darn, I confused it with the Xalan 2.0 bug which printed a +N sometimes. J.Pietschmann - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
ERROR -2
Not sure if this is a posting to the FOP users group or not. Here goes anyway ... Ive just started using Xalan and FOP to attempt creation of pdf documents. When running FOP I get the following: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [ERROR] -2 Im not getting any output file and cant find the error code -2 on the FAQ. Just wondering what this means or if there is an error code listing? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 23 September 2004 17:59 To: [EMAIL PROTECTED] Subject: WELCOME to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. Acknowledgment: I have added the address [EMAIL PROTECTED] to the fop-user mailing list. Welcome to [EMAIL PROTECTED] Please save this message so that you know the address you are subscribed under, in case you later want to unsubscribe or change your subscription address. --- Administrative commands for the fop-user list --- I can handle administrative requests automatically. Please do not send them to the list address! Instead, send your message to the correct command address: To subscribe to the list, send a message to: [EMAIL PROTECTED] To remove your address from the list, send a message to: [EMAIL PROTECTED] Send mail to the following for info and FAQ for this list: [EMAIL PROTECTED] [EMAIL PROTECTED] Similar addresses exist for the digest list: [EMAIL PROTECTED] [EMAIL PROTECTED] To get messages 123 through 145 (a maximum of 100 per request), mail: [EMAIL PROTECTED] To get an index with subject and author for messages 123-456 , mail: [EMAIL PROTECTED] They are always returned as sets of 100, max 2000 per request, so you'll actually get 100-499. To receive all messages with the same subject as message 12345, send an empty message to: [EMAIL PROTECTED] The messages do not really need to be empty, but I will ignore their content. Only the ADDRESS you send to is important. You can start a subscription for an alternate address, for example [EMAIL PROTECTED], just add a hyphen and your address (with '=' instead of '@') after the command word: [EMAIL PROTECTED] To stop subscription for this address, mail: [EMAIL PROTECTED] In both cases, I'll send a confirmation message to that address. When you receive it, simply reply to it to complete your subscription. If despite following these instructions, you do not get the desired results, please contact my owner at [EMAIL PROTECTED] Please be patient, my owner is a lot slower than I am ;-) --- Enclosed is a copy of the request I received. Return-Path: [EMAIL PROTECTED] Received: (qmail 20828 invoked by uid 99); 23 Sep 2004 16:58:29 - X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [194.217.126.3] (HELO mailgate.tissoft.co.uk) (194.217.126.3) by apache.org (qpsmtpd/0.28) with ESMTP; Thu, 23 Sep 2004 09:58:28 -0700 Received: by mailgate.tissoft.co.uk (Postfix, from userid 538) id 080128E4F; Thu, 23 Sep 2004 17:58:25 +0100 (BST) Received: from ct-mail.tissoft.co.uk (ct-mail.tissoft.co.uk [192.168.1.227]) by mailgate.tissoft.co.uk (Postfix) with ESMTP id 296438E4D for fop-user-sc.1095958608.hkhlnogjecibidngadke-mark.donnelly=strategixsoftware [EMAIL PROTECTED]; Thu, 23 Sep 2004 17:58:21 +0100 (BST) Received: by ct-mail.tissoft.co.uk with Internet Mail Service (5.5.2656.59) id RS90NL1G; Thu, 23 Sep 2004 18:08:26 +0100 Message-ID: [EMAIL PROTECTED] From: Mark Donnelly [EMAIL PROTECTED] To: 'fop-user-sc.1095958608.hkhlnogjecibidngadke-mark.donnelly=strategixsoftwar [EMAIL PROTECTED]' fop-user-sc.1095958608.hkhlnogjecibidngadke-mark.donnelly=strategixsoftware [EMAIL PROTECTED] Subject: RE: confirm subscribe to [EMAIL PROTECTED] Date: Thu, 23 Sep 2004 18:08:24 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain; charset=iso-8859-1 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on mailgate.tissoft.co.uk X-Spam-Status: No, hits=-3.9 required=5.3 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Level: X-Virus-Checked: Checked -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 23 September 2004 17:57 To: [EMAIL PROTECTED] Subject: confirm subscribe to [EMAIL PROTECTED] Hi! This is the ezmlm program. I'm managing the [EMAIL PROTECTED] mailing list. To confirm that you would like [EMAIL PROTECTED] added to the fop-user mailing list, please send an empty reply to this address: fop-user-sc.1095958608.hkhlnogjecibidngadke-mark.donnelly=strategixsoftware. [EMAIL PROTECTED] Usually, this happens when you just hit the reply button. If this does not work
Re: ERROR -2
Strange. If you're doing this on the command-line, use -d to get additional error information. If you're running from Java make sure that DEBUG log level is enabled. On 23.09.2004 19:20:39 Mark Donnelly wrote: Not sure if this is a posting to the FOP users group or not. Here goes anyway ... Ive just started using Xalan and FOP to attempt creation of pdf documents. When running FOP I get the following: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [ERROR] -2 Im not getting any output file and cant find the error code -2 on the FAQ. Just wondering what this means or if there is an error code listing? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: ERROR -2
M: org.apache.fop.apps.FOPException: -2 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62) Looks like FOP is not happy with something but what it doesnt really say. -Original Message- From: Jeremias Maerki [mailto:[EMAIL PROTECTED] Sent: 23 September 2004 18:23 To: [EMAIL PROTECTED] Subject: Re: ERROR -2 Strange. If you're doing this on the command-line, use -d to get additional error information. If you're running from Java make sure that DEBUG log level is enabled. On 23.09.2004 19:20:39 Mark Donnelly wrote: Not sure if this is a posting to the FOP users group or not. Here goes anyway ... Ive just started using Xalan and FOP to attempt creation of pdf documents. When running FOP I get the following: [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] FOP 0.20.5 [INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser [INFO] building formatting object tree [INFO] setting up fonts [INFO] [1] [ERROR] -2 Im not getting any output file and cant find the error code -2 on the FAQ. Just wondering what this means or if there is an error code listing? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: ERROR -2
No idea where this comes from. Anyone else got an idea? Mark, please give us the full command-line you're using along with the JDK version you're using. On 23.09.2004 19:41:49 Mark Donnelly wrote: M: org.apache.fop.apps.FOPException: -2 at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111) at org.apache.fop.apps.Fop.main(Fop.java:62) Looks like FOP is not happy with something but what it doesnt really say. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
What Does [ERROR] -2 Mean
I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go back through my stylesheet and remove changes until the thing works again, but I'd love a clue for figuring out what to fix. Thanks - MOD __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
No idea. Try the -d option on the command line to get a more meaningful error message (a stacktrace I hope). Maybe that helps. On 20.06.2003 20:25:38 Michael Duffy wrote: I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go back through my stylesheet and remove changes until the thing works again, but I'd love a clue for figuring out what to fix. Thanks - MOD Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
I just did that five minutes before reading your note, Jeremias. (Great minds thinking alike.) There's more info now: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.java:130) Not much help - I don't know where an array index like this would come from. --- Jeremias Maerki [EMAIL PROTECTED] wrote: No idea. Try the -d option on the command line to get a more meaningful error message (a stacktrace I hope). Maybe that helps. On 20.06.2003 20:25:38 Michael Duffy wrote: I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go back through my stylesheet and remove changes until the thing works again, but I'd love a clue for figuring out what to fix. Thanks - MOD Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
Found it - foolish user error. I had cut pasted some table cells and forgot to remove unnecessary number-columns-spanned attributes. My apologies. - MOD --- Michael Duffy [EMAIL PROTECTED] wrote: I just did that five minutes before reading your note, Jeremias. (Great minds thinking alike.) There's more info now: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.java:130) Not much help - I don't know where an array index like this would come from. --- Jeremias Maerki [EMAIL PROTECTED] wrote: No idea. Try the -d option on the command line to get a more meaningful error message (a stacktrace I hope). Maybe that helps. On 20.06.2003 20:25:38 Michael Duffy wrote: I just ran FOP with an FO stylesheet that gave me [ERROR] -2 for output and no PDF. What does it mean? I could go back through my stylesheet and remove changes until the thing works again, but I'd love a clue for figuring out what to fix. Thanks - MOD Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
Looking at the code I think it could be some problem with cell spanning, a negative number where it should be positive, for example. If that doesn't help comment out portions of your FO or stylesheet to circle in the problem location. Check the numbers of columns defined and used in your tables. On 20.06.2003 21:04:31 Michael Duffy wrote: I just did that five minutes before reading your note, Jeremias. (Great minds thinking alike.) There's more info now: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.java:130) Not much help - I don't know where an array index like this would come from. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: What Does [ERROR] -2 Mean
You are exactly right, Jeremias. I had a spanning problem that went away when I took those out. Good eye - you know this well. It's impressive to be able to spot an error with so little info. Thanks - MOD --- Jeremias Maerki [EMAIL PROTECTED] wrote: Looking at the code I think it could be some problem with cell spanning, a negative number where it should be positive, for example. If that doesn't help comment out portions of your FO or stylesheet to circle in the problem location. Check the numbers of columns defined and used in your tables. On 20.06.2003 21:04:31 Michael Duffy wrote: I just did that five minutes before reading your note, Jeremias. (Great minds thinking alike.) There's more info now: java.lang.ArrayIndexOutOfBoundsException: -2 at org.apache.fop.fo.flow.TableRow$CellArray.getNextFreeCell(TableRow.java:130) Not much help - I don't know where an array index like this would come from. Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ERROR] -2
Hello! While processing with fop I get the error [ERROR] -2. What does it mean? Thanx suse! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ERROR] -2
I don't know. Run FOP on the command-line with the -d (debug) option. You'll get a stacktrace that will be more informative. On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: While processing with fop I get the error [ERROR] -2. What does it mean? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
I get an ArrayOutOfBoundsException. But I can't retrace my fault... As attachment I'm sending my fo-file. Anybody is kindly asked to have a look. :-) Million thanx! suse -Ursprüngliche Nachricht- Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:16 An: [EMAIL PROTECTED] Betreff: Re: [ERROR] -2 I don't know. Run FOP on the command-line with the -d (debug) option. You'll get a stacktrace that will be more informative. On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: While processing with fop I get the error [ERROR] -2. What does it mean? Jeremias Maerki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] NCR.fo Description: Binary data - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi mark, I've left out the static text in my flow and it didn't work. I want to create a form with nested fields. It would be very complicated if I tried this only with table-cells. So I decided to use containers. Yesterday I solved my layout with fixed blocks and containers (position based) on my page. But if this is efficient... every time you want to change your layout you have to change all positions in your layout. I can't really get along with these tables ;-( suse -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:10 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: [ERROR] -2
Hi Suse, i've tested your fo and added two extra table-columns fo:flow flow-name=xsl-region-body fo:table fo:table-column column-width=3.5cm/ fo:table-column column-width=2.5cm/ fo:table-column column-width=6.5cm/ fo:table-body fo:table-row and surprise the attached pdf was created. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:20 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark, I've left out the static text in my flow and it didn't work. I want to create a form with nested fields. It would be very complicated if I tried this only with table-cells. So I decided to use containers. Yesterday I solved my layout with fixed blocks and containers (position based) on my page. But if this is efficient... every time you want to change your layout you have to change all positions in your layout. I can't really get along with these tables ;-( suse -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:10 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, why do you use block-container in table-cells ? If you define your table with 3 table-columns and each of your table-cells with borders like you defined for your block-containers i think you have the same effect you want to have. Your structure is a little bit of strange. the hint Markus Müller gave ( You should put your static text inside fo:block/fo:block tags. ) seems to me not so bad. You have text in your flow which is not surrounded by a block, so i don't think that this text will be ever visible, even if you can create your pdf. The text passage: -- 1 of 1 Nonconformance Report CDMU CRATE Functional Failures is a child of a table-row and this is definitly not allowed in fop. greets, mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 13:03 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hi mark! Mmmhhh, I guess this is not the problem. If I leave out the third template it runs. And then there're still two cells in one row... -Ursprüngliche Nachricht- Von: Mark Baier [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:57 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 Hi Suse, i think the problem is that you define 1 table-column and add 3 table-cells in a table-row... greets, Mark -Ursprüngliche Nachricht- Von: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:55 An: '[EMAIL PROTECTED]' Betreff: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! -Ursprüngliche Nachricht- Von: Müller, Markus [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 11. April 2003 12:51 An: [EMAIL PROTECTED] Betreff: AW: [ERROR] -2 You should put your static text inside fo:block/fo:block tags. Perhaps this helps, Markus $ -Ursprüngliche Nachricht- $ Von: Todtenhaupt, Susann $ [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:46 $ An: '[EMAIL PROTECTED]' $ Betreff: AW: [ERROR] -2 $ $ $ I get an ArrayOutOfBoundsException. But I can't retrace my $ fault... As $ attachment I'm sending my fo-file. Anybody is kindly asked $ to have a look. $ :-) $ $ Million thanx! $ suse $ $ -Ursprüngliche Nachricht- $ Von: Jeremias Maerki [mailto:[EMAIL PROTECTED] $ Gesendet: Freitag, 11. April 2003 12:16 $ An: [EMAIL PROTECTED] $ Betreff: Re: [ERROR] -2 $ $ I don't know. Run FOP on the command-line with the -d $ (debug) option. $ You'll get a stacktrace that will be more informative. $ $ On 11.04.2003 11:44:06 Todtenhaupt, Susann wrote: $ While processing with fop I get the error [ERROR] -2. $ What does it mean? $ $ $ Jeremias Maerki $ $ $ - $ To unsubscribe, e-mail: [EMAIL PROTECTED] $ For additional commands, e-mail: [EMAIL PROTECTED] $ $ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED
RE: [ERROR] -2
Hello, I noticed that you are using table-layout-auto, is this supported? You also have data like crysat test and 1 of 1 Non conformance report both outside the bounds of a table-cell but within table row? I'm not an expert so i don't really know, but i'd change your table to include a fixed number of columns and use the proportional widths properties and also put all your data in your table within a table cell. -Adam -Original Message- From: Todtenhaupt, Susann [mailto:[EMAIL PROTECTED] Sent: April 11, 2003 3:55 AM To: '[EMAIL PROTECTED]' Subject: AW: [ERROR] -2 Hello markus... This I already tried because I guessed the same as you. But this doesn't help :-( Thanx anyway! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Again out of Memory Error -2
My xsl snippet. xsl:template match=/ fo:root fo:layout-master-set ... /fo:layout-master-set fo:page-sequence master-reference=... fo:static-content ... fo:static-content fo:flow !-- Table start -- !-- Table header -- xsl:for-each select=codetest/detail !-- Table rows -- xsl:value-of select=group/ ... .. /xsl:for-each !-- Table end -- /fo:flow /fo:page-sequence /fo:root /xsl:template my Xml snippet: codetest detail group/ id/ sector/ quantity/ level/ . . ANSI/ /detail /codetest Please give me some tips on going for multiple page sequence.I'm having 1488 rows. --- Cyril Rognon [EMAIL PROTECTED] wrote: I suppose you are using FOP 0.20.3... Do you use as many page sequences as you can ? Long tables and long page sequences are known to increase the memory requierments of FOP. error has nothing to do with xml. Xsl could be used to create additionnal page sequences. List Archive shows you how. http://www.sold.com.au - The Sold.com.au Big Brand Sale - New PCs, notebooks, digital cameras, phones and more ... Sale ends June 12
Re: Again out of Memory Error -2
Ok I'll try to answer both part 1 and 2 here : as for the JVM memory parameter with servlet engines : Your servlet engine is executed in a JVM that must allow you to set memory parameters. I don't know about every ServletEngine or ApplicationServers but you can do this with Tomcat or Websphere so I guess it exists everywhere. As for multiple page sequences, it is simply a fact that the current FOP implementation seems to keep a whole page sequence in memory before it writes it down. So the biggest bage sequence you have, the more heap size you need. Therefore it can be helpfull to create separate page sequence anytime you can. In your case, it is the worst situation : one long table. You have to start and stop the table each time you want to change page-sequence. Some guy on the list had the same situation to deal with. He manage to have an average number of x row per pages. Then he twisted his XSLT stylesheet to take x rowData (detail element in your case) to build one page sequence containing one table with the x rows and so on. He has ended with a 97 page-sequence document. This may be a little extreme but it works. The archive pointer I gave you does this trick. In many case, you have to deal with many tables wich are not always 100 pages long then you can place page-sequences every time you know you can have a page break. I hope this helps. Cyril
Re: Again out of Memory Error -2
Hi Cyril, Thanks a lot for replying. I'm using Tomcat 3.2,so I think there shd be someway to imporve JVM heap size. Now I understood the multiple page sequence advantage.I tried to change my to have XSLT to print 20 rows at a time,still coding/re-coding my XSLT to get a good result and not yet completed. Since this is a one-off job,I converted my large XML data to HTML,then I converted HTML to PDF using Adobe distiller.So the task is done,but I'm half baked now with my XSLT code. Thanks a lot for replying me at right time. Regards Balaji --- Cyril Rognon [EMAIL PROTECTED] wrote: Ok I'll try to answer both part 1 and 2 here : as for the JVM memory parameter with servlet engines : Your servlet engine is executed in a JVM that must allow you to set memory parameters. I don't know about every ServletEngine or ApplicationServers but you can do this with Tomcat or Websphere so I guess it exists everywhere. As for multiple page sequences, it is simply a fact that the current FOP implementation seems to keep a whole page sequence in memory before it writes it down. So the biggest bage sequence you have, the more heap size you need. Therefore it can be helpfull to create separate page sequence anytime you can. In your case, it is the worst situation : one long table. You have to start and stop the table each time you want to change page-sequence. Some guy on the list had the same situation to deal with. He manage to have an average number of x row per pages. Then he twisted his XSLT stylesheet to take x rowData (detail element in your case) to build one page sequence containing one table with the x rows and so on. He has ended with a 97 page-sequence document. This may be a little extreme but it works. The archive pointer I gave you does this trick. In many case, you have to deal with many tables wich are not always 100 pages long then you can place page-sequences every time you know you can have a page break. I hope this helps. Cyril http://www.sold.com.au - The Sold.com.au Big Brand Sale - New PCs, notebooks, digital cameras, phones and more ... Sale ends June 12