Hi Hardarshan,
1. I'm assuming that you only need to read files, not
write. If that's the case, put the XML and XSL files
under WEB-INF/xml and WEB-INF/xsl, respectively, and
access them using ServletContext's getResourceAsStream
method.
2. You might get the encoded (very important) XML and
I'm running FOP 0.20.5rc3a with Tomcat 4.1.24 on
Windows 2000 and JDK 1.4.1.
I'm written a servlet modeled on the code from
http://xml.apache.org/fop.servlets.html. I don't want
to get XML or XSL from the server file system. My
real app will have XML generated on the fly, so I'm
using
Thank you VERY much, that did the trick. - MOD
--- J.Pietschmann [EMAIL PROTECTED] wrote:
Michael Duffy wrote:
When I run it through FOP, I get this error:
[ERROR] At least one of minimum, optimum, or
maximum
IPD must be specified on table.
What causes this error, and what must I
I just ran FOP with an FO stylesheet that gave me
[ERROR] -2 for output and no PDF. What does it
mean?
I could go back through my stylesheet and remove
changes until the thing works again, but I'd love a
clue for figuring out what to fix. Thanks - MOD
__
Do
an array index like
this would come from.
--- Jeremias Maerki [EMAIL PROTECTED] wrote:
No idea. Try the -d option on the command line to
get a more meaningful
error message (a stacktrace I hope). Maybe that
helps.
On 20.06.2003 20:25:38 Michael Duffy wrote:
I just ran FOP with an FO stylesheet
Found it - foolish user error. I had cut pasted
some table cells and forgot to remove unnecessary
number-columns-spanned attributes. My apologies. -
MOD
--- Michael Duffy [EMAIL PROTECTED] wrote:
I just did that five minutes before reading your
note,
Jeremias. (Great minds thinking
be some problem
with cell spanning,
a negative number where it should be positive, for
example. If that
doesn't help comment out portions of your FO or
stylesheet to circle in
the problem location. Check the numbers of columns
defined and used in
your tables.
On 20.06.2003 21:04:31 Michael
This is my second day with FOP, so be gentle. ;)
I have an FO file with a table in it - 3 rows, 6
columns fixed. A snippet follows:
fo:table table-layout=fixed
fo:table-column column-width=1.0in/
fo:table-column
column-width=proportional-column-width(1)/
fo:table-column