[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: xsl and toc.hhc (was xml -> htmlhelp and character

Subject: RE: xsl and toc.hhc (was xml -> htmlhelp and character 8220)
From: Allin Cottrell <cottrell@xxxxxxx>
Date: Thu, 11 Nov 2004 21:58:02 -0500 (EST)
hhc error
On Fri, 12 Nov 2004, Michael Kay wrote:

This very strongly suggests that you have an xsl:output declaration
somewhere that requests an encoding such as iso-8859-1.

Writing toc.hhc
Error at xsl:copy-of on line 338 of
file:/usr/share/sgml/docbook-xsl/html/chunker.xsl:
  Output character not available in this encoding (decimal 8220)

OK, I think this a a bug, or a weirdness, but it is localized: something is wrong with the writing of the htmlhelp toc file, when one or more section titles contain quotation marks.

Could I somehow be implying the declaration you speak of? The invocation of saxon is this:


saxon manual.xml gretlhlp.xsl "tex.math.in.alt=latex"

and gretlhlp.xsl is:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:import href="/usr/share/sgml/docbook-xsl/htmlhelp/htmlhelp.xsl"/>
<xsl:param name="lang" select="'en'"/>
<xsl:template match="command">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
<xsl:param name="htmlhelp.hhp" select="'gretl.hhp'"/>
<xsl:param name="htmlhelp.chm" select="'gretl.chm'"/>
<xsl:param name="admon.graphics" select="1"/>
<xsl:param name="admon.graphics.extension" select="'.gif'"/>
<xsl:param name="admon.graphics.path">figures/</xsl:param>
<xsl:param name="navig.graphics" select="1"/>
<xsl:param name="graphic.default.extension" select="'gif'"/>
</xsl:stylesheet>


On my system, /usr/share/sgml/docbook-xsl is a symlink: if I point it at docbook-xsl-1.59.1 the htmlhelp files are generated without complaint; if I point it at docbook-xsl-1.67.0 I get the error with character 8220 in the toc file.

Allin Cottrell

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.