Thanks, Martin. I've just committed a fix to FOP Trunk for this. It may
not be the best way to fix it, but at least it works now.

On 07.06.2006 10:51:49 Martin Zak wrote:
> ...sorry, fingers ahead of my head...
>  it's 0.92beta and example is attached:
> 
> Example contains single page with two block with 'id' attribute.
> When the bookmark id reference doesn't match any block with such id, no 
> bookmarks are produced at all.
> When you change the id of second block or bookmark ref id to match each 
> other, everything works ok.
> Cheers
> Martin
> ===
> sample files:
> bookmarks_bug_wrong.fo - generates pdf with no bookmarks (wrong bookmark 
> ref id)
> bookmarks_bug_wrong.pdf - corresponding pdf
> bookmarks_bug_correct.pdf - pdf with matching bookmark ref ids and block ids
> ===
> 
> 
> Jeremias Maerki wrote:
> > FOP version? Example? Thanks.
> >
> > On 06.06.2006 14:09:44 Martin Zak wrote:
> >   
> >> Hi all,
> >> I'm generating bookmarks bind to different elements in text while using 
> >> the xsl "generate-id()" function to get unique id.
> >> When it comes to the situation one bookmark can't resolve the reference 
> >> id (as such element with corresponding id
> >> doesn't exists - may occur in very complex document),
> >> FOP displays the warning:
> >> WARNING: Bookmarks: Unresolved id reference "N10001" found.
> >>
> >> and _no_ bookmarks are produced to output PDF.
> >> IMHO when the doc contains hundreds of bookmarks and one is not valid,
> >> it may be skipped (or left with no reference?), but other bookmarks 
> >> should be produced to output...
> >>
> >> I'm not sure whether it's just a sort of bug or desired behavior.
> >> If you know about some workaround, it would be welcomed!


Jeremias Maerki


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

Reply via email to