This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: use.id.as.filename may produce invalid filenames
- From: Jirka Kosek <jirka at kosek dot cz>
- To: Gisbert Amm <gia at webde-ag dot de>
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Wed, 12 Feb 2003 15:42:42 +0100
- Subject: Re: DOCBOOK-APPS: use.id.as.filename may produce invalid filenames
- References: <74ADFA8C453ED611A71E00508BBBA135D9E78E@exchange1.cinetic.de>
Gisbert Amm wrote:
> I use the use.id.as.filename parameter to produce recognizable filenames
> from chapter-IDs. Now I've got some problems with German umlauts in
> filenames - the hyperlinks do not work in the browser. That's why I've made
> the following hack in chunk-common.xsl:
The best you can do is simply avoid these characters in IDs. Not all
currently used system are prepared for characters outside ASCII in
filenames, URLs and so on.
> 2) Wouldn't it be reasonable to provide a parameter to avoid any special
> characters in the generated filenames?
IDs should be persistent and unique. What about, if you have two IDs
like "huh" and "hüh"? After converting you will have two same IDs.
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz