Skip to content

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

@svanteschubert

Description

@svanteschubert

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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions