AFP Renderer Extensions, such as TLE and Page Overlays are not working in FOP Trunk. The extensions are documented here: http://xmlgraphics.apache.org/fop/0.95/output.html#afp-tag-logical-element I have attached a simple test File that tests TLEs and Page Overlays. I suspect NOPs and Page Segment Extension are broken too, but I've yet to try them.
I've done some initial investigation and found one bug that prevented the extensions being detected: The AFPElement in package o.a.fop.render.afp.extensions was using Qualified Name for elements and later checking local name for the name of the elements. This was a simple change that allows the logic in AFPRender.renderPageObjectExtensions method to work. However the extension fields still have no affect on the output. I will continue to investigate this some more later.
Update: the change I mentioned yesterday is enough to get Overlays, Page Segments and NOPs working. TLEs seem to fail because the method canWrite in AbstractResourceGroupContainer returns false on both calls for TLEs. A tweak there allows the TLE to be output but the byte record seems to be incorrect.
I've now managed to get TLEs working as well. Fix committed in revision 725308
batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed