Break this down more atomically to see where the break down occurs, if you
will.
First, run Xalan using the commandline with sample files to insure that
there's not an
error in just doing that (instructions on xml.apache.org).
Second run FOP using commandline to insure there's no version problem
between FOP 0.18 (very old...) and whatever Xalan (and Xerces) you're using.
(again see website)
If you've got the old distribution of fop (0.18), it will have an old
"embedding fop" document which has a code example (the ones on the current
website refers to the new API for FOP 0.20 and later). If you're using the
current version (0.20.1) FOP docs with the old distribution (or vice versa),
then they just won't work.
The above should be standard operating procedure for debugging any FOP
problems. For your specific problem, write debug code to check (output,
whatever) responseSource, stylesheetSource, target before you pass them as
parameters. You might be hardcoding in a file path that is wrong or
something.
-Steve
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 2:28 PM
To: [EMAIL PROTECTED]
Subject: Xalan causing issue in FOP?
Importance: High
Hello,
I am still trying to get my java to work with FOP - I'm using Xalan to parse
and I have an error when I hit the:
processor.process(responseSource, stylesheetSource, target);
line.
I get:
Input XSL; Line 1; Column 45518
XSL Error: Could not parse Input XML document!
XSL Error: SAX Exception
As errors.
I am declaring the procesor as:
XSLTProcessor processor = XSLTProcessorFactory.getProcessor();
Any hints on how to troublehsoot?
Thanks!
Tony
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]