Yes, this change was major and happened many months ago.

You have to do something like this:

        String contFile = "/path/to/fop.xconf";
        FopFactoryBuilder builder = new FopConfParser(new
File(confFile)).getFopFactoryBuilder();
        builder.setStrictFOValidation(false);
        FopFactory fopFactory = builder.build();

I will update the example to have have at least one that uses the conf file.




On Tue, Apr 9, 2013 at 1:20 PM, Bonekrusher <djs...@yahoo.com> wrote:

> Hi Alexios,
>
> The link is outdated. The example will not compile using the trunk because
> there is no longer a method called newInstance that takes Zero arguments.
> This looks like a major change in the trunk.
>
> FopFactory fopFactory = FopFactory.newInstance();
>
>
>
>
>
> --
> View this message in context:
> http://apache-fop.1065347.n5.nabble.com/FopFactory-in-Trunk-tp38261p38276.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscr...@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-h...@xmlgraphics.apache.org
>
>

Reply via email to