Closed ArneDefauw closed 4 years ago
Thank you for reporting this and for giving a PR. The problem is a bit different than what you are fixing and the tests fail. I opened an issue in #132 and will continue the discussion there.
Superseeded by #134
For the following typesystem and xml:
https://drive.google.com/drive/folders/1GqWanaAB9Duj8orYLTDtfNILv3OmZD24?usp=sharing
I get the following error after loading to cas, and then creating an xmi representation:
This is because references to the Sofa object for nested FeatureStructure is not done correct. ( in the example)
The bug is fixed with this pull request. (The fix, however, causes a problem when an annotation is added to a cas that is not part of the typesystem. However, this feature does not seem to be particularly interesting)