Bug 14248 - 51-page FO example, could be added to the samples
Summary: 51-page FO example, could be added to the samples
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: All All
: P3 enhancement
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-05 09:57 UTC by Bertrand Delacretaz
Modified: 2012-04-01 13:48 UTC (History)
0 users



Attachments
XML source file (3.56 KB, text/xml)
2002-11-05 09:58 UTC, Bertrand Delacretaz
Details
produces XSL-FO from 0097449.xml (33.82 KB, text/xml)
2002-11-05 09:58 UTC, Bertrand Delacretaz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Delacretaz 2002-11-05 09:57:09 UTC
I meant to add the attached document to the samples (see
http://marc.theaimsgroup.com/?l=fop-dev&m=102810266726014&w=2) but with the
BRANCH it gives too many warnings and with HEAD it creates a NullPointerException. 

I tried to correct it but didn't find what causes the "[WARNING]
table-layout=auto is not supported" with the BRANCH.

I'm storing it here in case we want to add it to the samples later.
Comment 1 Bertrand Delacretaz 2002-11-05 09:58:02 UTC
Created attachment 3723 [details]
XML source file
Comment 2 Bertrand Delacretaz 2002-11-05 09:58:47 UTC
Created attachment 3724 [details]
produces XSL-FO from 0097449.xml
Comment 3 keiron 2002-11-27 15:02:29 UTC
I noticed this example has a fo:footnote in a static region which is invalid.
Comment 4 Oleg Tkachenko 2002-12-02 16:01:22 UTC
So, what should we do with this stuff? Bertrand, can you please clean it further?
Comment 5 Peter B. West 2002-12-02 22:15:29 UTC
Bertrand,

I am using this for testing at the moment.  The main propblem I found with this
is the presence of short-form empty fo:table-cell elements.  I think there are
seven in the file.

The fo:footnotes in static-content are not strictly legal, but they are not
strictly illegal either.  The spec, in 6.10.3 fo:footnote Constraints, has:

"It is an error if the fo:footnote occurs as a descendant of a flow that is not
assigned to a region-body, or of an fo:block-container that generates absolutely
positioned areas. In either case, the block-areas generated by the
fo:footnote-body child of the fo:footnote shall be returned to the parent of the
fo:footnote and placed in the area tree as though they were normal block-level
areas."

In the end, I left these fo:footnotes in, because, as I read the spec, I am
obliged to return the block areas of fo:footnote-body elements.  How should we
handle the example?
Comment 6 Peter B. West 2002-12-02 22:19:51 UTC
One other thing I forgot.  There is one fo:external-graphic with a src attribute
that look like:

src="file:///d:/apps/messaging_service/sig_LA.jpg"

which is illegal, although the example fo's are full of them.  It should be:

src="url(file:///d:/apps/messaging_service/sig_LA.jpg)"
Comment 7 J.Pietschmann 2002-12-03 20:50:53 UTC
FOPImageFactory has a comment regarding URI syntax near the beginning of the
Make method. Formally, sect. 5.11 should be authoritative indeed.
Comment 8 Bertrand Delacretaz 2002-12-04 06:16:14 UTC
I'm drowning in stuff to do this week, but if someone wants to improve/correct
the example, feel free to do it!
Comment 9 Jeremias Maerki 2008-11-01 09:12:32 UTC
Would need some work to serve as a sample. If anyone is interested, please reopen.
Comment 10 Glenn Adams 2012-04-01 13:48:40 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs