Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-15 Thread Bonekrusher
Thanks Luis, I'll try your code and report back. -- View this message in context: http://apache-fop.1065347.n5.nabble.com/java-lang-IllegalArgumentException-Message-pattern-contains-unsupported-field-name-elementName-tp38286p38314.html Sent from the FOP - Users mailing list archive at Nabble.c

Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-15 Thread Luis Bernardo
As you mentioned, the issue does not happen with the command line (as I checked). So the issue is not really with FOP. I also tried to run it from a java program and had not no issues either. Attached is the sample code I use, a variation of one of the examples. On 4/14/13 2:12 PM, Bonekrush

Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-14 Thread Bonekrusher
I was able to track this down and it is not related to a corrupt graphic. It looks like if the text overflows a column, then the error occurs. Below is a link to a repo of the issue. I made it as small as possible. Search for the sentence "BUG HERE LONG TEXT OVERFLOW". If you delete the text it ren

Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-11 Thread Bonekrusher
I was able to trace the error down to some graphics. I am not sure if the images are corrupt. I will try to put a small repo together... stand by Thx -- View this message in context: http://apache-fop.1065347.n5.nabble.com/java-lang-IllegalArgumentException-Message-pattern-contains-unsupport

Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-11 Thread Bonekrusher
Hi Sorry, I am a running FO to PDF transformation. I am using embedded FOP (calling FOP from my Java app). When I run the FO file from my app, I get the error. When I run the FOP file from the command line for FOP, it transforms with no problem. Here is my code: try {

Re: java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-10 Thread Pascal Sancho
Hi, you should describe what do you feed to FOP, and, as a best practice,attach some material, ideally an XSL-FO input file (rather than XML+XSLT), or other input format handled by FOP (IF, AT, etc.) 2013/4/11 Bonekrusher > Running embedded code in trunk, I am getting the follow error: > > An

java.lang.IllegalArgumentException: Message pattern contains unsupported field name: elementName

2013-04-10 Thread Bonekrusher
Running embedded code in trunk, I am getting the follow error: Any ideas? If you need a small repo, I'll put one together. Thx java.lang.IllegalArgumentException: Message pattern contains unsupported field n ame: elementName at org.apache.fop.util.text.AdvancedMessageFormat$SimpleFieldP