View Single Post
Old 11-18-2016, 04:40 PM   #23
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,765
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by KevinH View Post
If you split a file you are creating two pieces from one file. If that file has the name "Section0001.xhtml" and you split at the cursor, the file name 'Section0001.xhtml" is already being used and so is not a valid id for the newly created section. This is especially true if 'Section0002.xhtml' already exists as well.

So under these circumstances Sigil will generate a uuid with an "x" prepended to it to make it a valid unique id instead of trying some variation of 'Section0001.xhtml' and 'Section0002.xhtml' ... that could already exist.

KevinH
Kevin - I'm not sure you understood - what I suggested is that when a split at cursor is done the new manifest ID would always be an 'x' preceded uuid, irrespective of what file name is used or already exists.

In other words there will never be an apparent nexus between what's in the manifest id and what's in the href.

BR
BetterRed is online now   Reply With Quote