SystemRDL / PeakRDL-ipxact

Import and export IP-XACT XML register models
http://peakrdl-ipxact.readthedocs.io
GNU General Public License v3.0
31 stars 10 forks source link

vendorExtension for fields is not added within the field #5

Closed geochacon closed 3 years ago

geochacon commented 3 years ago

The error appears in line 459 of exporter.py

This:

458        if vendorExtensions.hasChildNodes():
459           parent.appendChild(vendorExtensions)

should be:

458        if vendorExtensions.hasChildNodes():
459           field.appendChild(vendorExtensions)
amykyta3 commented 3 years ago

Thanks for reporting the issue! Looks like I made the same mistake for all component types.

Fixed in v2.1.0