Re: nonexistent method signature used in examples (FopFactory.newInstance(URI)

2012-09-24 Thread mehdi houshmand
Hi Michael,

FOP trunk has had some changes made to it's public API, the link you posted
is from trunk and not FOP1.1 RC1. The link below is the 1.1rc1 version of
that same file.

http://svn.apache.org/viewvc/xmlgraphics/fop/tags/fop-1_1rc1/examples/embedding/java/embedding/ExampleXML2PDF.java?revision=1357960view=markup

Hope that helps

Mehdi

On 18 September 2012 13:40, Michael Megliola michael.megli...@gmail.comwrote:

 (Unless I am missing something...)

 The code examples for FOP 1.1.RC.1 use a method signature that does not exist 
 in the distribution copy of the binaries:

 // configure fopFactory as desired
 final FopFactory fopFactory = FopFactory.newInstance(new File(.).toURI());

 The related example is here: 
 http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup





nonexistent method signature used in examples (FopFactory.newInstance(URI)

2012-09-18 Thread Michael Megliola
(Unless I am missing something...)

The code examples for FOP 1.1.RC.1 use a method signature that does
not exist in the distribution copy of the binaries:

// configure fopFactory as desired
final FopFactory fopFactory = FopFactory.newInstance(new File(.).toURI());

The related example is here:
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/examples/embedding/java/embedding/ExampleXML2PDF.java?view=markup