python-odml icon indicating copy to clipboard operation
python-odml copied to clipboard

[VersionConverter] How to deal with Section.include

Open mpsonntag opened this issue 6 years ago • 1 comments

How to handle Section.include conversion from 1.0 to 1.1.

Analogous to #216.

mpsonntag avatar Mar 06 '18 14:03 mpsonntag

By default, a conversion that encounters a non-v1.1 odml Section.include will lead to a [warning] conversion log message, but will export the Section.include unchanged. The converter will include a flag that enables to pull in the included Section from the link, adds it to the document, converts the pulled in Section to v1.1 as well and removes the Section.include from the resulting v1.1 file.

mpsonntag avatar Mar 07 '18 17:03 mpsonntag