View Single Post
Old 11-18-2016, 09:04 PM   #26
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,752
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Yes that would be better, consistency is what I was looking for. Although I find something like the following, irrespective of context, always makes me wonder - is it a coincidence that they're the same token, or is it because they have to be

Quote:
<item id="somefilename" href="Text/somefilename.html" media-type="application/xhtml+xml"/>
Assuming the id only has to be unique within the document, would it be possible to generate a short random token to use as the id. Many (most ?) Sigil users would not be as intimate with the specs as yourself, DiapDealer, Doitsu etc, so we tend to notice apparent anomalies and coincidences. To which we then attach great significance, inconsequential tho' they may be

All of that said, I almost always use Split at Markers option.

BR

Quote:
Originally Posted by KevinH View Post
Hi,
I would be okay with that but uuid's are even longer than many file names. So I would like to keep whatever is there and only revert to uuids for ids when the tested for names actually already exists.

The change is not recent but some older versions did not previously do this according to now multiple reports, so I would like to figure out why this is happening and when it first changed. And see if I can get back the old (pre 0.8.X?) behaviour.

Thanks,

KevinH
BetterRed is offline   Reply With Quote