DLR-SC / tixi

A simple XML interface library
Apache License 2.0
35 stars 16 forks source link

Deprecate CPACS related functions #224

Open joergbrech opened 6 months ago

joergbrech commented 6 months ago

Historically, TiXI was intended specifically for handling CPACS files. There are still a few functions in TiXI that are CPACS-specific. Examples for this are tixiAddHeader and tixiAddCpacsHeader. The first one is very old and the second one only works with CPACS < 3.5, see https://github.com/DLR-SL/CPACS/issues/796.

Consequences of removing these functions:

@cliersch, @MarAlder, what do you think?

MarAlder commented 6 months ago

I have always overlooked this function until now. But I agree with you that this should not be part of TiXI, but part of what I envision as a low-level cpacsLibrary.

I have already practiced this with some users of the community in their corresponding codes, writing the header with the usual createElement methods. Its simple enough.

Instead of updating the function, I would therefore remove it from TiXI.