uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-4697) UV3 XMI serialization / deserialization
Date Tue, 06 Dec 2016 15:18:58 GMT

     [ https://issues.apache.org/jira/browse/UIMA-4697?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marshall Schor resolved UIMA-4697.
    Resolution: Fixed

> UV3 XMI serialization / deserialization
> ---------------------------------------
>                 Key: UIMA-4697
>                 URL: https://issues.apache.org/jira/browse/UIMA-4697
>             Project: UIMA
>          Issue Type: Sub-task
>          Components: Core Java Framework
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>            Priority: Minor
>             Fix For: 3.0.0SDKexp
> Update XMI serialization and deserialization. Because the new Feature Structure (FS)
model has constant things as Java "final", they need to be known at FS creation time (e.g.,
the sofa reference for subtypes of AnnotationBase, the associated casView is also a final
constant).  Sometimes the order when deserializing has the sofa FS following their use.  Implement
a deferral method for these situations (using Java 8 lambda techniques where appropriate)
to reorder creation as needed.  The same issue arises when deserializing feature values which
are references to other FSs not yet deserialized.
> Change the xmi serialization to serialize the sofas first, to avoid needing to use the
deferred FS creation logic.

This message was sent by Atlassian JIRA

View raw message