Bug 5718 - internal linking between separate page-sequences
Summary: internal linking between separate page-sequences
Status: CLOSED DUPLICATE of bug 3007
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: PC All
: P3 blocker
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-07 07:30 UTC by Michael Smethurst
Modified: 2012-04-01 13:52 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Smethurst 2002-01-07 07:30:51 UTC
i'm trying to output a PDF using a style sheet with a single
master page and a number of page-sequences (i'm using numerous page
sequences because i want to display different information in the page footer
depending upon the section). i also want to include a toc on the first
page-sequence set which will link to a block WITHIN the relevant page-sequence. 
however when i try to convert this it complains that "The id 'bestandmarsh' 
already exists in this document". Its fine if i want to link within a page-
sequence but seems to get confused with links between page-sequences. Included 
is a simplified version of the fop input file.
any help much appreciated...
[this seems to be a similar (but more general) bug to 1231]


<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master master-name="A4">
<fo:region-body margin-bottom="20mm"/>
<fo:region-after extent="20mm"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence country="uk" language="en" initial-page-number="1"
master-name="A4">
<fo:static-content flow-name="xsl-region-after">
<fo:block>Something</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block>
<fo:basic-link internal-destination="bestandmarsh">Link: Key
Questions</fo:basic-link>
</fo:block>
</fo:flow>
</fo:page-sequence>
<fo:page-sequence country="uk" language="en" master-name="A4">
<fo:static-content flow-name="xsl-region-after">
<fo:block>Something else</fo:block>
</fo:static-content>
<fo:flow flow-name="xsl-region-body">
<fo:block id="bestandmarsh">Destination: Key Questions</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>

the message i get is:

C:\Java\Fop-0.20.1>java -cp
build\fop.jar;lib\batik.jar;lib\xalan-2.0.0.jar;lib\
xerces-1.2.3.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -fo
..\Working\Out\Out
.xml -pdf ..\Working\Pdf\Out.pdf
FOP 0.20.1
using SAX parser org.apache.xerces.parsers.SAXParser
building formatting object tree
setting up fonts
 [1]
 [2ERROR: The id "bestandmarsh" already exists in this document

Thanks
Michael
Comment 1 J.Pietschmann 2002-04-22 11:17:17 UTC

*** This bug has been marked as a duplicate of 3007 ***
Comment 2 Glenn Adams 2012-04-01 13:52:29 UTC
batch transition to closed remaining pre-FOP1.0 resolved bugs