You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Berin Loritsch <bl...@d-haven.org> on 2005/09/23 05:48:16 UTC

FOP and Cocoon URL question

I can't seem to reference a graphic in my FO document to be included in 
my PDF document.
The problem is that the graphic is generated on the fly--and only really 
accessible through a
"cocoon" URL.  I can't seem to make it work, and I can't seem to find 
any documentation to
help me on my way.

Can anyone lend a hand?


Re: FOP and Cocoon URL question

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 23 sept. 05, à 08:33, Jeremias Maerki a écrit :

> ...the new FOP should be able to handle these
> requirements. You will be able to set a URIResolver which wraps the
> Excalibur Source instances in a JAXP (Stream)Source instances...

Great, thanks for the news!

> ... The bad
> message is that the API will be quite different making a block rewrite
> necessary. I'll look into that when the first preview/alpha release is
> out....

It might be good to leave people the option of using the "old" 0.20.x 
block, either via a configuration switch or by having two separate 
blocks.

I can imagine people with existing apps will want to continue using FOP 
0.20.x for a while if it works for them.

-Bertrand

Re: FOP and Cocoon URL question

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
On 23.09.2005 07:37:21 Bertrand Delacretaz wrote:
> Le 23 sept. 05, à 06:22, Joerg Heinicke a écrit :
> > ...FOP does not use Cocoon's source resolver..
> 
> FYI, I think FOP are close to a first release candidate of their 
> long-awaited V1.x, if someone has an itch to scratch it might be a good 
> time to do something with them about this.
> 
> -Bertrand

Yes, that's right. But the new FOP should be able to handle these
requirements. You will be able to set a URIResolver which wraps the
Excalibur Source instances in a JAXP (Stream)Source instances. The bad
message is that the API will be quite different making a block rewrite
necessary. I'll look into that when the first preview/alpha release is
out.


Jeremias Maerki


Re: FOP and Cocoon URL question

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 23 sept. 05, à 06:22, Joerg Heinicke a écrit :
> ...FOP does not use Cocoon's source resolver..

FYI, I think FOP are close to a first release candidate of their 
long-awaited V1.x, if someone has an itch to scratch it might be a good 
time to do something with them about this.

-Bertrand

Re: FOP and Cocoon URL question

Posted by Joerg Heinicke <jo...@gmx.de>.
On 23.09.2005 05:48, Berin Loritsch wrote:

> I can't seem to reference a graphic in my FO document to be included in 
> my PDF document.
> The problem is that the graphic is generated on the fly--and only really 
> accessible through a
> "cocoon" URL.  I can't seem to make it work, and I can't seem to find 
> any documentation to
> help me on my way.
> 
> Can anyone lend a hand?

Hello Berin,

that's a really old issue with FOP integration in Cocoon and a very 
frequently asked question :)

http://issues.apache.org/bugzilla/show_bug.cgi?id=15316

FOP does not use Cocoon's source resolver.

Jörg