This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: Duplicate ID in FO-File
On Wed, Mar 27, 2002 at 11:55:35AM -0800, Bob Stayton wrote:
> On Wed, Mar 27, 2002 at 06:23:16PM +0100, Peer Brink wrote:
> > After transforming DocBook-XML-document with DOCTYPE SET and two BOOKs (see example below) to FO, the resulting FO-document
> > has a duplicate ID! FOP reports
> > "The id "toc...N400006" already exists in this document"
> > and the pdf-file is broken.
> >
> > I am using stylesheets v. 1.50.0. Is it a stylesheet-bug?
>
> Yes, it appears to be a bug in 1.50.0. Your document
> works in 1.49 and 1.50beta. Looking at the fo output
> there are several duplicate TOC ids. I can't pin down
> the location of the bug yet, though.
A little bit more information for Norm to fix this.
Here is the sequence of text nodes in the fo file.
Clearly the out-of-place Section-Title nodes
are the problem.
TEST-SET
Table of Contents
1. BOOK 1
Section-Title BOOK 1
1. BOOK 2
Section-Title BOOK 2
Table of Contents
1. BOOK 1
Section-Title BOOK 1
Chapter 1. BOOK 1
Chapter 1. BOOK 1
Section-Title BOOK 1
Para BOOK 1
Table of Contents
1. BOOK 2
Section-Title BOOK 2
Chapter 1. BOOK 2
Chapter 1. BOOK 2
Section-Title BOOK 2
Para BOOK 2
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com