View Single Post
Old 05-20-2011, 03:57 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Sigil does not use the ePub 3.0 specification as it is still not finalized and approved. Therefore Sigil uses the 2.0 specifications. I remember reading something about it on the forum with regards to the language setting.

As to why Sigil removes the line I don't know. The version you use could be the main factor. For version 0.3.4 I could image that this would happen. You can set the language in the meta editor (F7 I believe) and upon saving the opf would be recreated with the metadata. Since that version could not read/understand the setting you had, it would ignore it. As no language is set, it will not be there while saving and thus failing validation. Any custom metadata which is not within specs would be deleted.
In version 0.4 you can prevent recreation of the opf-file (you can choose to maintain it yourself), which would keep your meta-data.

I think you use version 0.3.4. If you search on the forum, there is a post somewhere from Valloric in which he explains why he decided to recreate the ncx and opf when saving the epub.

Last edited by Toxaris; 05-20-2011 at 04:00 AM.
Toxaris is offline   Reply With Quote