View Single Post
Old 10-28-2016, 03:05 PM   #8
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,

The well-formed check in Sigil does use the SanityChecker plugin code (just added permanently to Sigil and not as a plugin anymore). It is there to make sure that every opening tag has the proper closing tag and properly nested and that is about it for the most part. If that level of consistency is present, most other software can at least successfully parse the code.

During parsing, the parser may detect other errors and automatically fix them (like our Gumbo parser) or barf and throw up its hands. When you load a file into the gumbo error-correcting parser it does much the same thing as every Web-Browser does and tries it best to create something actually usable from whatever is provided to it.

So the "well-formed" check in Sigil could be renamed to "Sanity Check" or "Parseable?" or something along those lines but it certainly is not equivalent to gumbo checking the file, or for that matter things like FlightCrew and Epubcheck. If you want those styles checks you need to use the appropriate plugin.

Hope this helps,

KevinH
KevinH is online now   Reply With Quote