View Single Post
Old 11-12-2015, 09:48 AM   #57
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
Hi DiapDealer,

Quote:
Originally Posted by DiapDealer View Post
I used Calibuser's attached Test3.epub for the test:

1) Launch Sigil
2) Open Test3.epub
3) Verify that you can switch from CV to BV (Section0001.xhtml) with no errors.
4) leave Section0001.xhtml open in Code View.
5) run the testme3 plugin.
6) the Section0001.xhtml file becomes corrupted. When switching to BV a "not Well formed" error is issued (at or above line 5: html, head ...)
7) Entities that were set to be preserved are lost.
Yes, I see the error now. It appears to be that the link which is a void tag (self-closing) has somehow been written as a pair <link></link> which makes BV barf (and correctly so).

I will try to see what is going on here. The file being modified is being changed when all the plugin does is read from it and write it back so something is broken in the launcher/pluginrunner code that is improperly cleaning the file when it should not.

Kevin
KevinH is offline