typhon-project / typhonql

Typhon Query Language
Eclipse Public License 2.0
4 stars 1 forks source link

Removing the access to the attribute 'type' during an Add Attribute #119

Closed Jefidev closed 3 years ago

Jefidev commented 3 years ago

Hi,

I identified an issue with the xmi reader. If the XMI schema contains an AddAttribute change operator the parsing fails. The error is due to a line trying to access the "type" attribute of the AddAttribute. As that attribute does not exist anymore it causes the error.

I propose this quick fix for you. As I do not use the information about the type of the new entity and as I am the only one using the change operator part of the QL XMI Reader I propose to remove the line causing the issue.

Have a good day

Jérôme