I had a register without description and the python code failed on it.
The XML itself was valid. A description of a registers seems to be not needed in IP-XACT.
I've modified one of your test registers so it does not have a description.
And modified the Python code if there is no description element, it will add an empty string as description.
This makes it a bit easier to maintain the code. And I prefer having a 'Description:' line in the documentation so that
it's clear it's better to add a description.
Hi Andreas,
I had a register without description and the python code failed on it. The XML itself was valid. A description of a registers seems to be not needed in IP-XACT.
I've modified one of your test registers so it does not have a description. And modified the Python code if there is no description element, it will add an empty string as description. This makes it a bit easier to maintain the code. And I prefer having a 'Description:' line in the documentation so that it's clear it's better to add a description.
Thanks for reviewing.