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 Daniel Knapp <sk...@informatik.uni-rostock.de> on 2001/08/30 11:02:50 UTC

Annotations to Bug #3354

Hi,

okay, the example I've given is in this way not correct. I have to explain
a little more to see the bug.

If you write a FO-document with internal-basic-links the way I specified,
there's no error. The error happens in the document attached to this mail.
When copying the relevant lines into a new document, the error disappears,
and that's the strange thing. I copy the relevant lines (they are exactly
the same) and there's no error any more. Maybe someone of you can help
here, the relevant lines are ll 105 and 116 (that's the id "def_unet" FOP
mentions), but you'll see when running it through FOP.

Thanks in advance.

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 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


Basic Link

Posted by Keiron Liddle <ke...@aftexsw.com>.
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