Closed jcklie closed 4 years ago
In the XMI, it is strange that the html:TagAttribute
has a sofa attribute but is not actually in the sofa members list. I would say it is even wrong.
@ArneDefauw how was the XMI file that you reference in #132 originally created?
The XMI file was created via custom java code (using UIMA SDK). Adding the 'nested' html:TagAttribute
to the sofa members list indeed fixes the problem. It thus seems to be a misinterpretation from my side, thanks for the swift response!
If the a simple code example using the UIMA Java SDK without any hacks can produce an XMI file with an annotation that has a Sofa but where the annotation is not in the indexes, then IMHO cassis should be able to deal with that.
@ArneDefauw It is fixed in master, thank you for reporting! I fixed it when loading XMI, not when adding an annotation as it should never happen when you add an annotation, only when loading XMI.
Thanks, now everything works fine!
Solved with #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)