Re: Getting Mismatch: instream-foreign-object

2006-11-02 Thread Jacobus
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

Re: Getting Mismatch: instream-foreign-object

2006-10-07 Thread 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

Re: Getting Mismatch: instream-foreign-object

2006-10-07 Thread 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

Re: Getting Mismatch: instream-foreign-object

2006-10-06 Thread Lars Ivar Igesund
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread 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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Manuel Mall
: 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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Manuel Mall
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,

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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.

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Manuel Mall
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

RE: Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Pascal Sancho
-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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Manuel Mall
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Manuel Mall
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

Re: Getting Mismatch: instream-foreign-object

2006-10-05 Thread Lars Ivar Igesund
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

Getting Mismatch: instream-foreign-object

2006-10-04 Thread Lars Ivar Igesund
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 =

RE: Getting Mismatch: instream-foreign-object

2006-10-04 Thread Pascal Sancho
-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