Hi,

On advice received here, I'm trying to use CatalogResolver to make my
program access a local SVG dtd instead of a remote one at w3.org.

I've gotten as far as getting xalan to use the resolver, but it seems
that the problem (well, the behavior I want to change, anyway) is in
the next step; in FOP. But I can't see how to get FOP to use my
CatalogResolver.

My use of FOP is simple:

[...]
OutputStream pdfStream = new FileOutputStream(stagingDir + "/" + fname);
InputSource foDocInput = new DocumentInputSource((Document)foDoc.getNode());
fopDriver.setOutputStream(pdfStream);
fopDriver.setInputSource(foDocInput);
fopDriver.run();
[...]

How do I tell FOP to use my CatalogResolver?


Thanks,

-David

Reply via email to