odftoolkit icon indicating copy to clipboard operation
odftoolkit copied to clipboard

Loading an invalid ODF without version attribute in manifest:manifest should add it

Open svanteschubert opened this issue 7 months ago • 0 comments

The ODS test https://github.com/tdf/odftoolkit/blob/master/odfdom/src/test/java/org/odftoolkit/odfdom/doc/table/TableCellTest.java loads the (invalid) test document TestSpreadsheetStyleTable.ods, changes it, and saves it back, but there is still a version attribute missing in the manifest:

Image

tested with https://odfvalidator.org/

Such a missing version attribute should be automatically added when it does not exist. This might happen on the DOM level, and I will take this issue to generate this feature.

svanteschubert avatar May 12 '25 17:05 svanteschubert