Bug 80732 - Help screens mostly empty - GUI
Help screens mostly empty - GUI
Status: CLOSED NOTABUG
Product: Red Hat Public Beta
Classification: Retired
Component: docbook-style-xsl (Show other bugs)
phoebe
All Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-30 10:58 EST by Trond Eivind Glomsrød
Modified: 2007-04-18 12:49 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-01-07 07:56:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)
test xml file (326 bytes, text/plain)
2003-01-04 17:44 EST, Jeremy Katz
no flags Details
stripped down stylesheet (465 bytes, text/plain)
2003-01-04 17:44 EST, Jeremy Katz
no flags Details

  None (edit)
Description Trond Eivind Glomsrød 2002-12-30 10:58:53 EST
Most of the help text seem to go AWOL when doing GUI installs in Norwegian.
Comment 1 Bill Nottingham 2003-01-01 01:15:06 EST
Do translations actually exist for norwegian?
Comment 2 Trond Eivind Glomsrød 2003-01-01 07:19:41 EST
Yes, they're cut off mid-sentence so most of the content is gone. I'd guess it's
related to 8 bit chars wrt. UTF-8
Comment 3 Michael Fulbright 2003-01-02 17:53:25 EST
Help me out - is this a rendering issue for anaconda or just bad translations?
Comment 4 Jeremy Katz 2003-01-02 19:24:53 EST
docbook-style-xsl isn't following the specified encoding from the online.xsl
stylesheet.  In html/docbook.xsl, it has a hardcoded charset of ISO8859-1 which
is pretty bogus (and not present in 1.50.0 from 8.0)

Tim?
Comment 5 Tim Waugh 2003-01-03 04:01:11 EST
Seems like it's been that way for ever.  1.50.0-3 has it.  I agree that it looks
suspicious.

Are you using xmlto for the conversion?  I made a change recently to do with
encodings that might be causing problems.  I can easily back that out as a quick
work-around.
Comment 6 Tim Waugh 2003-01-03 04:22:18 EST
This seems to be a known problems with the stylesheets.  See:

http://lists.oasis-open.org/archives/docbook-apps/200301/msg00009.html
Comment 7 Jeremy Katz 2003-01-03 17:56:50 EST
Backing down to the older docbook-style-xsl + xmlto works, but I can't just back
down xmlto due to requirements.  So I guess we need to make our own customized
output thing?
Comment 8 Tim Waugh 2003-01-03 18:03:00 EST
Please try xmlto-0.0.12-2, which aims to restore the previous working state.
Comment 9 Jeremy Katz 2003-01-04 17:43:54 EST
Still fails.  But, if I ignore the dep on newer docbook-style-xsl and back down
to the one we shipped in 8.0, it's fine.  Attaching a pair of simple files which
can be used to reproduce

xmlto -o test html -m test.xsl test.xml
Comment 10 Jeremy Katz 2003-01-04 17:44:28 EST
Created attachment 89134 [details]
test xml file
Comment 11 Jeremy Katz 2003-01-04 17:44:53 EST
Created attachment 89135 [details]
stripped down stylesheet
Comment 12 Tim Waugh 2003-01-04 18:14:26 EST
I found that you can add:

<xsl:param name="chunker.output.encoding" select="'UTF-8'"/>

to get the right result.  I'll ask upstream why this doesn't default to
$default.encoding.
Comment 13 Jeremy Katz 2003-01-04 22:48:53 EST
Added to the stylesheet used for the help and rebuilt with the change.  I'm
perfectly happy for now to just have something to get it working :)
Comment 14 Tim Waugh 2003-01-07 07:56:39 EST
Apparently chunker.output.encoding is the new name, and default.encoding
shouldn't be used any more for chunking output.
Comment 15 Tim Waugh 2004-07-01 07:25:46 EDT
I'm taking out this patch in rawhide -- hopefully things have moved on
now and it won't cause problems this time.  xmlto-0.0.18-4.

Note You need to log in before you can comment on or make changes to this bug.