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 2001/08/30 12:45:29 UTC

Basic Link

Basic links that have a destination that will be on a following page are
broken.
The changes involving the stream renderer do not check to make sure that
the links are resolved before rendering the page, or more correctly, the id
references don't care about basic links.

To fix this someone will need to implement something so that the
IDReference's know that there are unresolved links on a page.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org


Re: Basic Link

Posted by Enrico Schnepel <en...@gmx.de>.
Hello Keiron,

I had the same problem a few weeks ago and the bug is in the buglist as bug 
3007.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3007

The bug was resolved by lmckenzi@ca.ibm.com but is not merged yet
I've attached the corresponding files which resolves the problem. 

Enrico


Re: Basic Link

Posted by Daniel Knapp <sk...@informatik.uni-rostock.de>.
> Basic links that have a destination that will be on a following page are
> broken.
> The changes involving the stream renderer do not check to make sure that
> the links are resolved before rendering the page, or more correctly, the id
> references don't care about basic links.

Unfortunately that's not always correct, I've found an example against
your theory. The <basic-link> is on page 2, the referenced link is on page
1. Have a look at the attached .fo and .pdf-file (don't be confused, the
links are invisible).

MfG, Daniel

-- 
Daniel Knapp <da...@informatik.uni-rostock.de>
int a=10000,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,
g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=
g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-)

Re: Basic Link

Posted by Daniel Knapp <sk...@informatik.uni-rostock.de>.
> Basic links that have a destination that will be on a following page are
> broken.
> The changes involving the stream renderer do not check to make sure that
> the links are resolved before rendering the page, or more correctly, the id
> references don't care about basic links.

You have just found the reason for Bug #3354 which I've searched for
several hours. Thank you very much! That explains that when copying the
lines where the link is into an new file no error happens, because the
link and the destination are on the same page.

MfG, Daniel

-- 
Daniel Knapp <da...@informatik.uni-rostock.de>
int a=10000,b,c=2800,d,e,f[2801],g;main(){for(;b-c;)f[b++]=a/5;for(;d=0,
g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)for(b=c;d+=f[b]*a,f[b]=d%--g,d/=
g--,--b;d*=b);} berechnet Pi auf 800 Stellen genau. :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org