Closed MarAlder closed 4 months ago
What do you think about this approach, @joergbrech?
This would find the correct cpacsVersion
as it is implemented in CPACS v3.5:
https://github.com/DLR-SC/tigl/blob/versionInfo/tests/unittests/TestData/testversion_new_header.xml
CPACS 3.5 has a new header node: see docs
To allow TiGL to open CPACS 3.5 files the
<cpacsVersion>
element is still available in the old location, although optional and marked asdeprecated
. Also the examples show this:Apparently, however, I have not explained reading the documentation or the existence of the examples well enough. Therefore, there is a growing opinion that TiGL does not support CPACS v3.5. I have just learned of a project that therefore decided to use v3.2.
Therefore, we should implement and release a patch that prevents TiGL from searching for the element not only at the old position but also at the new position in the header.