Yes, this seems to be a bug. Only the first bookmark receives the resolved target. The second one is skipped. I've filed a bug in Bugzilla.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37993 On 21.12.2005 15:03:26 Joern.Karthaus wrote: > Thanks Jeremias for your Quick Answer > > I found the Reason : > > When you use the internal-destination="headDest3" twice (with the same ID [I > do so for > testing]) > then the complete Bookmark is skipped ! > > Is this a bug ? > > Joern Karthaus > > > > > > > Please check the log output from FOP. If the bookmark code cannot find > an "id" in the document that you refer to using "internal-destination" > then the bookmarks seem to be skipped at the moment. > > On 21.12.2005 12:10:59 Joern.Karthaus wrote: > > Hello List > > > > I'm just experimenting with fop-0.90alpha1 and the new Bookmark > > functionality > > > > FOP render these Code without errors : > > > > <?xml version="1.0"?> > > <xsl:stylesheet version="1.0" > > xmlns:xsl="http://www.w3.org/1999/XSL/Transform" > > xmlns:fo="http://www.w3.org/1999/XSL/Format"> > > <xsl:output indent="yes"/> > > <xsl:template match="/"> > > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> > > <!--<xsl:call-template name="Index"/>--> > > <!-- Beschreibt, wie eine Seite auszusehen hat > --> > > <fo:layout-master-set> > > <fo:simple-page-master > > master-name="mainLayout" page-width="297mm" page-height="210mm" > > margin-top="0.5cm" margin-bottom="0.5cm" margin-left="0.5cm" > > margin-right="0.5cm"> > > <fo:region-body > margin-top="0.5cm" > > margin-bottom="0.5cm"/> > > <fo:region-before > extent="0.5cm"/> > > <fo:region-after > extent="0.5cm"/> > > </fo:simple-page-master> > > <!-- ## --> > > <fo:page-sequence-master > > master-name="contents"> > > <fo:repeatable-page-master-reference master-reference="mainLayout"/> > > </fo:page-sequence-master> > > </fo:layout-master-set> > > <fo:bookmark-tree> > > <fo:bookmark > > internal-destination="headDest3"> > > <fo:bookmark-title>Bookmarks > > Example</fo:bookmark-title> > > <fo:bookmark > > internal-destination="headDest3"> > > <fo:bookmark-title>Hello > > > World</fo:bookmark-title> > > </fo:bookmark> > > <fo:bookmark > > internal-destination="chapter2"> > > <fo:bookmark-title>Paragraphs</fo:bookmark-title> > > </fo:bookmark> > > </fo:bookmark> > > </fo:bookmark-tree> > > <!-- Inhalt von mainLayout --> > > <fo:page-sequence master-reference="mainLayout" > > initial-page-number="1"> > > <!-- Kopfzeile --> > > <fo:static-content > > flow-name="xsl-region-before"> > > <fo:block font-size="22" > > text-align="center" background-color="grey">KAMPF - Fehlteilliste > > V2</fo:block> > > </fo:static-content> > > <!-- Hauptbereich --> > > <fo:flow flow-name="xsl-region-body"> > > <xsl:apply-templates > > select="//STUECKLISTE"/> > > <fo:block id="last-page"/> > > </fo:flow> > > </fo:page-sequence> > > </fo:root> > > </xsl:template> > > > > ... > > > > But in the resulting PDF are no Bookmarks. > > > > Can somebody give me a example or tell whats wrong. > > > > > > Thanks : Joern Karthaus > > > > > > > > Jeremias Maerki > > Jeremias Maerki --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
