DO NOT REPLY [Bug 47953] New: NullPointerException in AFPRendererConfigurator

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47953 Summary: NullPointerException in AFPRendererConfigurator Product: Fop Version: all Platform: Other OS/Version: Windows Vista Status: NEW Severity: blocker Pri

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47953 Venkat Reddy changed: What|Removed |Added CC||vanukuri.ven...@googlemail.

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47953 --- Comment #1 from Venkat Reddy 2009-10-07 03:01:58 PDT --- This bug is happening only for AFPRenderer, AFPPainter is working properly. I have used the following command at the command prompt: fop -c C:\foptest\fop.xconf -fo C:\foptest\

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47953 --- Comment #2 from Venkat Reddy 2009-10-07 03:03:38 PDT --- Created an attachment (id=24354) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24354) This is a simple page overlay sample fo file -- Configure bugmail: https://is

DO NOT REPLY [Bug 47941] AFP Renderer Truncates TLE Values

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47941 --- Comment #1 from Venkat Reddy 2009-10-07 03:18:28 PDT --- Hi Chris, Can you please attach the XSL-FO file you used for this test case? Thanks, Venkat. (In reply to comment #0) > 2 of the longer TLE Values in attached XSL-FO File are

Re: Regular expression use

2009-10-07 Thread Vincent Hennebert
Hi Jonathan, Jonathan Levinson wrote: > I noticed that if one is not careful in one's regular expression use, > the compilation for a regular expression can take minutes. I'm not > talking about applying the pattern just compiling it! > > > > Should regular expressions be avoided altogether a

NPE when using non-base14 font via IF XML

2009-10-07 Thread Vincent Hennebert
Hi, If I render the attached FO file into IF XML with the attached configuration file, then render the xml file into PDF, then I get the following error: SEVERE: Exception java.lang.NullPointerException: fontName must not be null at org.apache.fop.cli.InputHandler.transformTo(InputHandler.

Mimic a specific output with the intermediate format [was: Re: NPE when using non-base14 font via IF XML]

2009-10-07 Thread Vincent Hennebert
While I'm at it, and taking the same FO file and config file: specifying a mime type for the intermediate format doesn’t seem to work, contrary to the area tree. Take the config file, remove the part corresponding to the intermediate format (

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, > To reproduce: put the config file at the root of a FOP local copy, then > run the following: > fop -c config.xconf test.fo -if if.xml > fop -c config.xconf -ifin if.xml test.pdf I would like to run your example this way, but there is no fop.sh. Is there such a thing for the

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Vincent Hennebert
Hi Alexander, Alexander Kiel wrote: > Hi Vincent, > >> To reproduce: put the config file at the root of a FOP local copy, then >> run the following: >> fop -c config.xconf test.fo -if if.xml >> fop -c config.xconf -ifin if.xml test.pdf > > I would like to run your example this way, but t

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, > The script is called just fop. Look at the root of the project, it’s > actually a shell script. > http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop?view=log oh I was just blind. Thanks. Alex signature.asc Description: This is a digitally signed message part

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Vincent, I get a completely different error. If I ran fop -c config.xconf test.fo -if if.xml There is no output - so it seems to run fine. If I run fop -c config.xconf -ifin if.xml test.pdf afterwards, I get: [Fatal Error] if.xml:4:12: The prefix "x" for element "x:xmpmeta" is not

DO NOT REPLY [Bug 47941] AFP Renderer Truncates TLE Values

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47941 --- Comment #2 from Chris Bowditch 2009-10-07 06:47:45 PDT --- Created an attachment (id=24355) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=24355) XSL-FO to reproduce the problem -- Configure bugmail: https://issues.apache

DO NOT REPLY [Bug 47941] AFP Renderer Truncates TLE Values

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47941 --- Comment #3 from Chris Bowditch 2009-10-07 06:48:42 PDT --- Sorry - I seem to be having some problems with Bugzilla and attachments. I did attach the XSL-FO File when I logged the bug but Bugzilla had a problem with the content type and

DO NOT REPLY [Bug 47953] NullPointerException in AFPRendererConfigurator

2009-10-07 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47953 Jeremias Maerki changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Jeremias Maerki
Alexander, that hints to a buggy XSLT processor. Please replace the Xalan coming with the JVM with the one bundled with FOP. http://xml.apache.org/xalan-j/faq.html#faq-N100EF On 07.10.2009 14:42:52 Alexander Kiel wrote: > Hi Vincent, > > I get a completely different error. If I ran > >fop -c

Re: NPE when using non-base14 font via IF XML

2009-10-07 Thread Alexander Kiel
Hi Jeremias, > Alexander, that hints to a buggy XSLT processor. Please replace the > Xalan coming with the JVM with the one bundled with FOP. > http://xml.apache.org/xalan-j/faq.html#faq-N100EF Thanks for this hint. I just use Java 1.4 not very often. With Java 1.6 it works. Now I see the same N

Re: Mimic a specific output with the intermediate format [was: Re: NPE when using non-base14 font via IF XML]

2009-10-07 Thread Jeremias Maerki
Vincent, the "-if [mime] out" pattern wasn't implemented for the command-line. But I've just done that missing piece: http://svn.apache.org/viewvc?rev=822753&view=rev On 07.10.2009 13:27:57 Vincent Hennebert wrote: > While I'm at it, and taking the same FO file and config file: specifying > a mime

RE: Regular expression use

2009-10-07 Thread Jonathan Levinson
I'm sure someone has mentioned it already but what about the lexer support in ANTLR? http://www.antlr.org/wiki/display/ANTLR3/FAQ+-+Lexical+analysis ANTLR is available under the BSD license, which seems to be one with no strings attached: http://www.antlr.org/license.html Best Regards, Jonath