You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Keiron Liddle <ke...@aftexsw.com> on 2000/06/25 02:08:36 UTC

Re: Internal Links - problem

I have encountered a problem with the id references.
The code throws an exception if the same id occurs twice, this causes a
problem if an fo:block is laid out twice due to being initially placed
near the end of a page. I presume it initially thinks it will be able to
place the item at the end of the page, then it has a page break and
needs to lay it out again.

Everything else looks good, thanks.

Side Note: we should have a test case where blocks are laid out twice
over a page break, since this is the second problem not found.

>  and then somewhere else in your document (either before or after the
> simple-link), have <fo:block id="foo"/> The link should jump to the
> page where the id is located such that the id location is at the top
> of the page.  I would really appreciate it if people could try this
> out to ensure that it works properly for their documents (it seems to
> work well for me). FOP should spit out an error if either an id is
> duplicated (since they are supposed to be unique), or if there is a
> reference to an id that doesn't exist.