Marshall Schor created UIMA-4697:
------------------------------------

             Summary: 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
(v6.3.4#6332)

Reply via email to