Closed Bug 219958 Opened 22 years ago Closed 12 years ago

browser does not display chapter and section titles in a docbook document

Categories

(Core :: XSLT, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: legout, Assigned: peterv)

Details

(Whiteboard: testcase needed)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.5) Gecko/20030916 The xslt processing does not seem to generate the text for the titles of various elements like the chapters, the sections, the table of contents. Reproducible: Always Steps to Reproduce: 1. create the following file. Adapt the path to docbook.xsl and docbook.dtd to your docbook installation <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="../../../docbook/docbook-xsl/html/docbook.xsl"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2-Based Extension//EN" "../../../docbook/docbook.dtd"> <book> <chapter> <title>Chapter title</title> <section> <title>Section title</title> </section> </chapter> </book> 2. enter the link location in the browser Actual Results: The mozilla browser displays: -- 1. Chapter title Section title Section title -- which correspond to the table of contents (one table of contents for the document and one table of contents for the chapter) Expected Results: IE6 displays: -- Table of Contents 1. Chapter title Section title Chapter 1. Chapter title Table of Contents Section title Section title -- In addition to the tables of contents there is 2 titles "Table of Contents" and the title for the Chapter and the section.
Summary: browser does not display chaper and section titles in a docbook document → browser does not display chapter and section titles in a docbook document
Confirmed on 1.4, but it works on standalone trunk.
Status: UNCONFIRMED → NEW
Ever confirmed: true
it would be nice with a smaller testcase, the dockbook stylesheet is pretty huge
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040223 I can confirm that this bug still exists on a CVS trunk build from 23/02/04 with version 1.64 of nwalsh's docbook xsl stylesheets. The test page I used is at http://www.jeacocke.org.uk/2003/ossdev/docbook_xsl_test The xsl stylesheets may be got from http://sourceforge.net/project/showfiles.php?group_id=21935
This bug is still there on 1.7 RC3 and Firefox 0.9.
we're still lacking a usable testcase.
Keywords: testcase
Jonas, do you mean that if I provide a usable test case, you or someone else will fix the problem.
He means that it's highly unlikely that neither he nor me nor peterv bother to hunt down for a testcase and thus none of us is going to triage this. (testcase keyword is to be set once we have a testcase)
Keywords: testcase
Whiteboard: Unter den Linden 6 testcase needed
exactly, without a testcase we can't fix it. With a testcase we can at least try to.
Whiteboard: Unter den Linden 6 testcase needed → Unter den Linden 6
Whiteboard: Unter den Linden 6 → testcase needed
Keywords: qawanted
Does this have to do with bug 69799 (as implied by bug 69799 comment #30)?
QA Contact: keith → xslt
Windows 2000 support has been dropped a while ago. Please only reopen this bug if you can reproduce it on Windows XP or older with current Firefox builds.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Ioana, there appears to be nothing win2k-specific about this bug. Please don't resolve bugs as wontfix based on their (bogus, automatically set by Bugzilla) OS field without actually trying to reproduce them.
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Windows 2000 present in at least 2 comments (user agents), not just the OS field and there are no other OSs mentioned in this bug. As said before, in my experience with Win2k bugs, most of them didn't reproduce on Win XP or 7. What OS do you think would be suitable to try and reproduce such bugs on?
Attached file testcase
Since there was no testcase available for this bug, I created one myself. Since the bug refers to missing titles and section titles, I created a simple book with two chapters and sections in them. Everything is displayed fine in the browser: Mozilla/5.0 (Windows NT 6.1; rv:25.0) Gecko/20100101 Firefox/25.0
Attached file xsl for the testcase
Please only reopen this bug if you have a clear case where it reproduces and attach/link a corresponding testcase.
Status: REOPENED → RESOLVED
Closed: 12 years ago12 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: