From: SourceForge.net <no...@so...> - 2004-01-26 14:30:39
|
Bugs item #880097, was opened at 2004-01-19 14:09 Message generated for change (Comment added) made by ianschneider You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=880097&group_id=21935 Category: DocBook XSL Group: None Status: Open Resolution: None Priority: 5 Submitted By: Ian Schneider (ianschneider) Assigned to: Nobody/Anonymous (nobody) Summary: slides navigation bug Initial Comment: I used xxe to create a sample slide show. I tried using the various formats, table, frames, etc. but each slideshow showed the same problem with the previous button in the top and bottom navigation bar. After some testing, it appears to be an xsltproc problem (though there appears to be an easy fix), but I thought I'd drop a line here as well. Each alternating foil, following the first, has the previous button pointing back to the index, not the previous slide. Narrowing down the source of the problem, I found this bit of xpath in slides-common.xsl under the template for foil select="(preceding-sibling::foil[1] |parent::foilgroup[1] |/slides)[last()]" If the "/slides" axis is removed from the union, all appears to be well and my slides function as it seems they should. Attached are an example document and xsl which can duplicate the problem and demonstrate the alternating behavior of the last() predicate when applied to the union in question. I'm using slides-3.30, libxml2-2.6.3, and libxslt-1.1.1 Thanks kindly, Ian ---------------------------------------------------------------------- >Comment By: Ian Schneider (ianschneider) Date: 2004-01-24 09:56 Message: Logged In: YES user_id=237773 The problem was indeed an xsltproc issue http://bugzilla.gnome.org/show_bug.cgi?id=131971 and has been resolved as the report shows. As mentioned above, a temporary work around involves removing the /slides path from the union in any of the afflicted xpath statements. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=880097&group_id=21935 |