[ https://issues.apache.org/jira/browse/UIMA-2486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13485083#comment-13485083
]
Benjamin Segal commented on UIMA-2486:
--------------------------------------
The problem is in XmiCasSerializer, in writeViews(). The code currently skips writing out
a view that does not have a sofa (which could only be the case for the _InitialView anyway).
I have attached a patch which changes the serializer to write out the (initial) view even
in cases where a sofa was not created.
> XMI Delta CAS serialization does not write out FSes indexed in the Initial View which
does not have a sofa
> ----------------------------------------------------------------------------------------------------------
>
> Key: UIMA-2486
> URL: https://issues.apache.org/jira/browse/UIMA-2486
> Project: UIMA
> Issue Type: Bug
> Reporter: Benjamin Segal
>
> I found a bug in the XMI CAS serializer where delta CAS serialization does not properly
handle FSes that were modified in the _InitialView, where the _InitialView does not contain
a sofa. This improper handling results in feature structures being recorded in the XMI, but
are never indexed in the _InitialView. Since the FSes aren't indexed, XMI deserialization
does not add these FSes to the _InitialView of the CAS.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
|