> -----Original Message-----
> From: [EMAIL PROTECTED]
>

Hi,

> sorry if i'm sending you this mail directly to you, instead of to the list
>

Well, that's no particular problem to me, but I'm cc-ing fop-user anyway, so
this info gets to reach all users. You never know if someone else also finds
use for it.

For now, one thing I can add is that the current development version (FOP
1.0) does even worse than 0.20.5 with your source FO, as it ends in an
OutOfMemoryException :(

> i have a 27 KB xsl file and 342 KB xml file,
> after i ran the xalan, i got a huge 4 MB fo file., is this kind
> of normal ?

Can be considered normal, if you take into account that your file contains
18026 fo:table-cells, so that would already be at least 18026 * (15 + 16)
bytes (+500 KB for the cells' markup alone... 15 for <fo:table-cell>, 16 for
</fo:table-cell>)
Also, quite a few tables seem to be nested. I think it would help a great
deal if you can come up with a layout avoiding these as much as possible
(--and if this is impossible, then it would certainly be advisable to check
whether you can change the layout to distribute the content over multiple
page-sequences. See if there are criteria along which you can logically
divide the data into chunks of a few pages.)

> as a attachment, i send you my fo file,...not the big one..
> i erased all the cell-formating and the graphics,
> and still it is 2 MB big
>

Not posting this one to fop-user. Any interested parties, please contact
Sandy or myself to obtain a copy.

> when i run the fop processor under the dos console, i got always
> warning/error message,
> saying error of PID, or something like that,..you have any idea ?
>

The error is about IPD, which stands for Inline Progression Dimension, which
is more or less the same as width (not exactly: only in languages with
Left-to-Right-Top-to-Bottom script, like most Western languages; in that
context, I[nline]PD is left-to-right, and B[lock]PD is top-to-bottom. IPD
and BPD are actually more abstract)

Anyway, it's caused by two tables that have no width property (line 85 and
line 129). If you add width="100%" to these two, the errors go away. The
warnings remain however... Can't say for sure what's causing these, though.
I tried modifying a few things, but no results.

In case you're wondering: the units of measurement shown are millipoints
(=1/72 inch or roughly 0.35mm)

> this table came from 12 rows and about 1000 columns...
>
> can you give me any tricks,how can I increase the performance...
> for this table, it took ca. 28000 ms to complete all the process
>

See the hints supplied above: change the layout to use less tables, or if
that is impossible, try chopping it up into multiple page-sequences. This
will at least keep the memory requirement manageable.



Greetz,

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to