xsd errors
Error 1824: Element '{http://www.gribuser.ru/xml/fictionbook/2.0}date', attribute 'value': '2017-06-15 01:43:28' is not a valid value of the atomic type 'xs:date'.
In FictionBook > description > document-info > date
Error 1868: Element '{http://www.gribuser.ru/xml/fictionbook/2.0}style': The attribute 'name' is required but missing.
Title on newly created section now looks like this:
<section>
<title>
<p><style>Some text</style></p>
"Style" tag is useless here without class or name attr.
Error 1871: Element '{http://www.gribuser.ru/xml/fictionbook/2.0}p': This element is not expected. Expected is one of ( {http://www.gribuser.ru/xml/fictionbook/2.0}title, {http://www.gribuser.ru/xml/fictionbook/2.0}epigraph, {http://www.gribuser.ru/xml/fictionbook/2.0}subtitle, {http://www.gribuser.ru/xml/fictionbook/2.0}stanza )
Also on newly created section. It should contain either <section> or <p>.
Need some more restrictions on tag placement and order? Or maybe checking against fb2's xsd on save?