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)
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.
| Reporter | ||
Updated•22 years ago
|
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
Comment 1•22 years ago
|
||
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
Comment 3•22 years ago
|
||
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
| Reporter | ||
Comment 4•21 years ago
|
||
This bug is still there on 1.7 RC3 and Firefox 0.9.
we're still lacking a usable testcase.
Keywords: testcase
| Reporter | ||
Comment 6•21 years ago
|
||
Jonas,
do you mean that if I provide a usable test case, you or someone else will
fix the problem.
Comment 7•21 years ago
|
||
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
Updated•21 years ago
|
Whiteboard: Unter den Linden 6 → testcase needed
Comment 9•20 years ago
|
||
Does this have to do with bug 69799 (as implied by bug 69799 comment #30)?
Updated•16 years ago
|
QA Contact: keith → xslt
Comment 10•12 years ago
|
||
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
Comment 11•12 years ago
|
||
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 → ---
Comment 12•12 years ago
|
||
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?
Comment 13•12 years ago
|
||
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
Comment 14•12 years ago
|
||
Comment 15•12 years ago
|
||
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 ago → 12 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•