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.
Created attachment 3723 [details] XML source file
Created attachment 3724 [details] produces XSL-FO from 0097449.xml
I noticed this example has a fo:footnote in a static region which is invalid.
So, what should we do with this stuff? Bertrand, can you please clean it further?
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?
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)"
FOPImageFactory has a comment regarding URI syntax near the beginning of the Make method. Formally, sect. 5.11 should be authoritative indeed.
I'm drowning in stuff to do this week, but if someone wants to improve/correct the example, feel free to do it!
Would need some work to serve as a sample. If anyone is interested, please reopen.
batch transition to closed remaining pre-FOP1.0 resolved bugs