Hi Guys,
This and many other problems with the 0.92 distribution seems to have to do
with class paths. If you develop (I'm using Netbeans), then make sure that all
the .jar files under fop's lib direcory is included in your project.
Cheers,
Jacobus
Pascal Sancho pascal.sancho at takoma.fr writes:
-Original Message-
From: Lars Ivar Igesund [mailto:larsivar at igesund.net]
Sent: Wednesday, October 04, 2006 2:04 PM
To: fop-users at xmlgraphics.apache.org
Subject: Getting Mismatch: instream-foreign-object
I am trying
Pascal Sancho pascal.sancho at takoma.fr writes:
-Original Message-
From: Lars Ivar Igesund [mailto:larsivar at igesund.net]
Sent: Wednesday, October 04, 2006 2:04 PM
To: fop-users at xmlgraphics.apache.org
Subject: Getting Mismatch: instream-foreign-object
I am trying
Ok, I have now solved my problem, and it was a simple missing piece in my setup
(Batik library), but this was not easily diagnosed because
SVGElementMapping.initialize() hides all exceptions thrown, among them the
classloader error for Batik.
Regards,
Lars Ivar Igesund
Pascal Sancho pascal.sancho at takoma.fr writes:
-Original Message-
From: Lars Ivar Igesund [mailto:larsivar at igesund.net]
Sent: Wednesday, October 04, 2006 2:04 PM
To: fop-users at xmlgraphics.apache.org
Subject: Getting Mismatch: instream-foreign-object
I am trying
: Getting Mismatch: instream-foreign-object
I am trying to create a PDF-document by taking a xml document
and put it through the transformer using xslt and fop, like this:
File xsltfile = new File(baseDir, xslFile);
File pdffile = new File(outDir, fileName
Manuel Mall manuel at apache.org writes:
The fo below works just fine for me. No errors parsing, etc.. This is
with the trunk version of fop, xerces xml parser and jdk 1.5.0_06.
What is your environment?
I use FOP 0.92beta, Xerces 2.6.2 and JDK 1.5.0_08 on Linux.
Regards,
Lars Ivar
On Thursday 05 October 2006 17:20, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
The fo below works just fine for me. No errors parsing, etc.. This
is with the trunk version of fop, xerces xml parser and jdk
1.5.0_06.
What is your environment?
I use FOP 0.92beta,
Manuel Mall manuel at apache.org writes:
On Thursday 05 October 2006 17:20, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
The fo below works just fine for me. No errors parsing, etc.. This
is with the trunk version of fop, xerces xml parser and jdk
1.5.0_06.
On Thursday 05 October 2006 17:50, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
On Thursday 05 October 2006 17:20, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
The fo below works just fine for me. No errors parsing, etc..
This is with the
Manuel Mall manuel at apache.org writes:
That is possible, I guess. Hmm, XPP3 is in there, and whatever
ServiceMix use for it's XML parsing (might actually be Xerces, as I
didn't put it there).
Also, when searching the net for that particular error message, I got
some hits related
-Original Message-
From: Lars Ivar Igesund [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 05, 2006 12:58 PM
To: fop-users@xmlgraphics.apache.org
Subject: Re: Getting Mismatch: instream-foreign-object
Manuel Mall manuel at apache.org writes:
That is possible, I guess
On Thursday 05 October 2006 18:57, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
That is possible, I guess. Hmm, XPP3 is in there, and whatever
ServiceMix use for it's XML parsing (might actually be Xerces, as
I didn't put it there).
Also, when searching the net
Manuel Mall manuel at apache.org writes:
No, but given that 0.92beta works for me under Linux I still think
something else is wrong.
Assuming you have a 'vanilla' 0.92beta installion available, that is
just the .tar.gz file expanded into its own (fop-0.92beta) directory
without any
On Thursday 05 October 2006 20:24, Lars Ivar Igesund wrote:
Manuel Mall manuel at apache.org writes:
No, but given that 0.92beta works for me under Linux I still think
something else is wrong.
Assuming you have a 'vanilla' 0.92beta installion available, that
is just the .tar.gz file
Manuel Mall manuel at apache.org writes:
Ok, doing it this way works for me too. How can I set up -verbose in
an embedded setting?
Thank you very much so far, btw.
OK, its not a FOP problem then.
The -verbose:class option is NOT a FOP option but an option on the Java
VM. You
Manuel Mall manuel at apache.org writes:
I still think you have a 'dodgy' XML parser or XSLT engine in your
embedded environment. How does your environment start, where does it
gets its classpath / jars from, ... You may have to dig into that.
Just another discovery, commenting out svg from
Manuel Mall manuel at apache.org writes:
OK, its not a FOP problem then.
The -verbose:class option is NOT a FOP option but an option on the Java
VM. You need to set it in the script that starts your embedded
environment. My guess is that setting it in the embedded environment
will
I am trying to create a PDF-document by taking a xml document and put it
through the transformer using xslt and fop, like this:
File xsltfile = new File(baseDir, xslFile);
File pdffile = new File(outDir, fileName);
FopFactory fopFactory =
-Original Message-
From: Lars Ivar Igesund [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 04, 2006 2:04 PM
To: fop-users@xmlgraphics.apache.org
Subject: Getting Mismatch: instream-foreign-object
I am trying to create a PDF-document by taking a xml document
and put it through
20 matches
Mail list logo