Summary: | Marker example (hide.fo) throws Null Pointer Exception for forward references | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | Jamie Browning <jbrowning> |
Component: | general | Assignee: | fop-dev |
Status: | CLOSED FIXED | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 0.94 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Attachments: | Use case demonstrating error |
Description
Jamie Browning
2008-06-27 02:34:31 UTC
Created attachment 22186 [details]
Use case demonstrating error
Already adding this note for completeness (already mentioned on fop-users@ yesterday) The issue is partly fixed in FOP Trunk. page-number-citations in markers no longer throw an Exception, but there is still a remaining problem for the forward reference: in the example 'hide.fo', the retrieved marker shows 'page 2 of 1'. Additionally, there appears to be a problem with with instream-foreign-object in markers. In the example 'hide.fo', the embedded SVG does not render at all (note: after changing stroke and fill to 'red' instead of 'white'... First wasted a lot of time wondering why I did not see any rectangle, then noticed it was a completely white one :-S ) (In reply to comment #2) > The issue is partly fixed in FOP Trunk. page-number-citations in markers no > longer throw an Exception, but there is still a remaining problem for the > forward reference: in the example 'hide.fo', the retrieved marker shows 'page 2 > of 1'. Looking closer, the output does seem to be correct. The fo:marker in fo:block[@id='end-seq1'] still belongs to page 1. The second page is an empty page that is produced by the fact that the second page-sequence has an odd initial-page-number. Setting force-page-count to 'no-force' on the first, generates only one page. So, the bug concerning forward-references is fixed in FOP Trunk now. I have also added a disabled tescase for the remaining problem with instream-foreign-object. see: http://svn.apache.org/viewvc?rev=672010&view=rev http://svn.apache.org/viewvc?rev=672496&view=rev http://svn.apache.org/viewvc?rev=672617&view=rev Thanks for reporting! batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed |