From: SourceForge.net <no...@so...> - 2005-06-08 15:25:33
|
Bugs item #1212074, was opened at 2005-05-31 15:28 Message generated for change (Comment added) made by djburke You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1212074&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: DocBook XSL Group: All output formats Status: Closed Resolution: Wont Fix Priority: 5 Submitted By: Doug Burke (djburke) Assigned to: Michael Smith (xmldoc) Summary: title of example containing a formalpara is wrong Initial Comment: With the attached document, which is just a wrapper around an example - whose title is "Example Title" - that contains a formalpara with a title of "Formalpara title", the title of the example in the HTML output is (excluding markup) Example 1. Example TitleFormalpara title In other words, the formalpara title is included in the example title. If you add more formalpara sections to the example then their titles are also included. I have seen this with the HTML and FO output. I am using OS-X 10.3.9 with the libxml2/libxslt/xsltproc tool-chain installed via fink. I have the 1.68.1 XML stylesheets installed (fink's 1.68.1-1 package), and xsltproc reports: osx% xsltproc -version Using libxml 20619, libxslt 10114 and libexslt 812 xsltproc was compiled against libxml 20619, libxslt 10114 and libexslt 812 libxslt 10114 was compiled against libxml 20619 libexslt 812 was compiled against libxml 20619 With the attached file I generated HTML output using osx% xsltproc /sw/share/xml/xsl/docbook-xsl/html/docbook.xsl docbook-example-test.xml > docbook-example-test.html and the relevant part of the output is p class="title"><b>Example 1. Example TitleFormalpara title</b></ p> ---------------------------------------------------------------------- >Comment By: Doug Burke (djburke) Date: 2005-06-08 15:25 Message: Logged In: YES user_id=7154 For reference, I've just submitted a libxslt bug about this (after managing to track it down). It's at http://bugzilla.gnome.org/show_bug.cgi?id=306904 ---------------------------------------------------------------------- Comment By: Michael Smith (xmldoc) Date: 2005-06-01 14:22 Message: Logged In: YES user_id=118135 This should probably be reported to libxslt bugzilla (if it hasn't already been reported). http://bugzilla.gnome.org/enter_bug.cgi?product=libxslt ---------------------------------------------------------------------- Comment By: Doug Burke (djburke) Date: 2005-06-01 13:44 Message: Logged In: YES user_id=7154 It does indeed appear to be due to a libxml2/libxslt issue since I got the expected output - namely <p class="title"><b>Example 1. Example Title</b></p> - using SAXON 6.5.3 on OS-X. Thanks for the quick response. Doug ---------------------------------------------------------------------- Comment By: Doug Burke (djburke) Date: 2005-06-01 13:43 Message: Logged In: YES user_id=7154 It does indeed appear to be due to a libxml2/libxslt issue since I got the expected output - namely <p class="title"><b>Example 1. Example Title</b></p> - using SAXON 6.5.3 on OS-X. Thanks for the quick response. Doug ---------------------------------------------------------------------- Comment By: Michael Smith (xmldoc) Date: 2005-06-01 04:01 Message: Logged In: YES user_id=118135 I think this may be a known bug in the latest version of xsltproc. If possible, can you please run your document through Saxon or another XSLT engine and report whether you see the same problem? ---------------------------------------------------------------------- Comment By: Doug Burke (djburke) Date: 2005-05-31 15:31 Message: Logged In: YES user_id=7154 I have attached the HTML output. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1212074&group_id=21935 |