This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: use.id.as.filename may produce invalid filename s


> 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.

I want the IDs as similar to the headings as possible (much easier to
maintain).
Therefore an umlaut is nothing exotic in such an ID for me in German.

> > 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.

After converting I'll have one file called huh.html and one called h_h.html
Surely you've meant something like 'hüh' and 'höh' which will both result in
h_h.html

Actually the IDs in my documents are much longer, therefore I don't see a
big problem.
If the IDs are non-trivial, there will be very seldom such similarities.
E.g. there is no word as 'Einföhrung' or 'Einfährung' which could clash with
'Einführung'. And the IDs have to be one to one within the same document
anyway.

They only thing that could happen is that the first HTML file would be
overwritten with the second one.
And this would strike immediately. One would change the ID in question and
go ahead.

Regards
Gisbert Amm


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]