[dbdoclet] The "id already exists" problem
- From: <Jere.Kapyaho@xxxxxxxxx>
- To: <dbdoclet@xxxxxxxxxxxxx>
- Date: Thu, 10 Jun 2004 15:51:30 +0300
Hi all,
I have been looking at using dbdoclet for some specification work, but =
ran into a bit of a problem. When I try to create a PDF file from =
JavaDocs I get an error:
org.apache.fop.apps.FOPException: The id "toc.N10001.CLASS-6" already =
exists in this document
This happens both with TiDBiT/Trafo and when using Apache FOP as =
standalone / from an Ant script. I did some web searching and it seems =
that this could be a FOP problem, but I wonder...
The DocBook XML file is generated OK. Early in the file there is:
<chapter xreflabel=3D"com.foobar" id=3D"PACKAGE-1">
...
<sect1 xreflabel=3D"com.foobar.SomeClass" id=3D"CLASS-6">
...
Later in the same file you will find:
<chapter>
<title></title>
<sect1 xreflabel=3D"com.foobar.SomeClass" id=3D"CLASS-6">
...
The fact that the same ID appears *twice* seems to trip FOP. This also =
happens consistently with all the classes and methods in the source =
JavaDocs, i.e. they all have duplicate IDs. Does anyone have an =
explanation / workaround? I am using dbdoclet 0.56, FOP 0.20.5, and =
DocBook XSL 1.65.1.
Best regards,
Jere K=E4pyaho
- Follow-Ups:
- [dbdoclet] Re: The "id already exists" problem
- From: Michael Fuchs
Other related posts:
- » [dbdoclet] The "id already exists" problem
- » [dbdoclet] Re: The "id already exists" problem
- » [dbdoclet] Re: The "id already exists" problem
- [dbdoclet] Re: The "id already exists" problem
- From: Michael Fuchs