cogu / autosar

A set of python modules for working with AUTOSAR XML files
MIT License
358 stars 162 forks source link

Description attribute in record elements #38

Closed Iskander1986 closed 3 months ago

Iskander1986 commented 4 years ago

I found a mismatch behavior, for tooling convention like a System Desk from DSpace it's possible to create a description attribute inside Record elements. So to solve those issue i suggest to add between line 84 and 85 of file datatype_writer.py the following code:

tmp = self.writeDescXML(childElem)
if tmp is not None: lines.extend(self.indent(tmp,3))

This is the same code are used in other classes.

cogu commented 4 years ago

This is currently not prioritized and will be fixed later. If you need the fix faster you are welcome to create a pull-request.

cogu commented 3 months ago