RE: Page Slop

2007-02-18 Thread Jim Tivy
THanks for the response I had a look at these but they do not work. Unfortunatly we want the page layout engine to create the blanks as it renders the content of a page sequence. So the location of the blanks is not known beforehand and the blanks are not triggered from specific break-before dir

[Spam SpamAssassin=4.10,Body=R 4.10 ] Re: Problem using custom EntityResolver with fop 0.92

2007-02-18 Thread J.Pietschmann
Andreas L Delmelle wrote: Just FYI: As to an alternative, looking a bit closer into the API docs, an EntityResolver is supposed to be set on an org.xml.sax.XMLReader instance, through its setEntityResolver() method. The XMLReader here being the reader that will be used by Xalan to parse the st

Re: Problem using custom EntityResolver with fop 0.92

2007-02-18 Thread Arturo Perez
In article <[EMAIL PROTECTED]>, Andreas L Delmelle <[EMAIL PROTECTED]> wrote: > On Feb 18, 2007, at 10:19, Jeremias Maerki wrote: > > > > > Arturo, I don't know how you use the EntityResolver in your code, but > > I'd propose to switch to URIResolver entirely. > > Seems like the best option in

Re: Problem using custom EntityResolver with fop 0.92

2007-02-18 Thread Andreas L Delmelle
On Feb 18, 2007, at 10:19, Jeremias Maerki wrote: Arturo, I don't know how you use the EntityResolver in your code, but I'd propose to switch to URIResolver entirely. Seems like the best option indeed. Just FYI: As to an alternative, looking a bit closer into the API docs, an EntityResolve

Re: Problem using custom EntityResolver with fop 0.92

2007-02-18 Thread Jeremias Maerki
Right. It's important to realize that FOP cannot help during the XSLT stage at all. The document() function is purely XSLT. Setting an URIResolver on FOP's FopFactory only helps with resolving URIs for images, fonts etc. Arturo, I don't know how you use the EntityResolver in your code, but I'd pro

Re: Page Slop

2007-02-18 Thread Andreas L Delmelle
On Feb 17, 2007, at 23:19, Jim Tivy wrote: Hi, We tried to ship a project with .93. We almost made it, however something we coined as "page slop" stopped us so we went back to FOP.20 and it looks like we will ship with FOP .20. Were were using a trick of sizing even pages as zero to avoi

Re: Problem using custom EntityResolver with fop 0.92

2007-02-18 Thread Andreas L Delmelle
On Feb 18, 2007, at 02:37, Arturo Perez wrote: In article <[EMAIL PROTECTED]>, Jeremias Maerki <[EMAIL PROTECTED]> wrote: http://xmlgraphics.apache.org/fop/0.93/embedding.html#fop-factory I had already been setting the URIResolver and that doesn't seem to work either. My document calls wou