This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] HTMLHelp: links to explicitly named anchors seem broken
- From: "Paul A. Hoadley" <paulh at logicsquad dot net>
- To: docbook-apps at lists dot oasis-open dot org
- Date: Tue, 6 May 2003 17:23:46 +0930
- Subject: Re: [docbook-apps] HTMLHelp: links to explicitly named anchors seem broken
- References: <20030506041612.GB52445@grover.logicsquad.net>
On Tue, May 06, 2003 at 01:46:13PM +0930, Paul A. Hoadley wrote:
> Here is an excerpt from the generated toc.hhc:
>
> <param name="Name" value="Utilities">
> <param name="Local" value="ch02s02.html#id2978761">
> </OBJECT><UL><LI> <OBJECT type="text/sitemap">
> <param name="Name" value="Notepad">
> <param name="Local" value="ch02s02.html#sec:notepad">
>
> As an example, the TOC link to 'Utilities' is fine, but the link to
> the explicitly named 'Notepad' sends the browser searching for a
> non-local URL. Debugging is not straightforward, since the HTML Help
> browser doesn't give much away about what it's doing.
The HTML Help browser (which I assume is essentially IE) doesn't seem
to like the colon in the anchor name. Simply removing that colon
fixes the problem. Colons are specifically allowed in NAME tokens:
http://www.w3.org/TR/REC-html40/types.html#type-cdata
Even more bizarre, it is only the TOC links that are broken by this.
Anchors with colons in their names perform just fine within the HTML
pages themselves. Has anyone been bitten by this before?
--
Paul.
mailto:paulh@logicsquad.net
mailto:phoadley@maths.adelaide.edu.au
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org