Created attachment 56391 [details]
I have send to site http://odf-validator.rhcloud.com/
one random file
this is result:
odt/content.xml[2,32719]: Error: unexpected attribute "style:keep-together"
Created attachment 56392 [details]
full eror output
there is a configuration setting in
<prop oor:name="SaveBackwardCompatibleODF" oor:type="xs:boolean">
unfortunately this is enabled by default.
there doesn't seem to be any code in LO that changes the setting,
it is only read by the ODF export filter.
some digging reveals that it is used for the following cases
where invalid ODF elements or attributes are written for
backwards compatibility reasons:
(this one actually has an OOo issue i#80033)
apparently all of these went into OOo 2.4 or earlier versions;
in all cases the ODF import code was adapted to read the ODF conformant
equivalent of the invalid elements or attributes.
thus this is only for backward compatibility with OOo 2.3 or earlier.
thus i would say that at least the configuration setting should
be turned off by default in LO master and 3.5.
perhaps we should even remove the specific uses of this setting on master.
but i would want to retain the configuration option as such,
because perhaps some other defect will be identified that
would require such a hack for a transition period.
fixed by changing the configuration setting on master:
fixed in libreoffice-3-5: