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] [Created] (UIMA-5532) xmi/json serialization multiple-refs-allowed sometimes fails to serialize item
Date Sat, 12 Aug 2017 15:25:00 GMT
Marshall Schor created UIMA-5532:
------------------------------------

             Summary: xmi/json serialization multiple-refs-allowed sometimes fails to serialize
item
                 Key: UIMA-5532
                 URL: https://issues.apache.org/jira/browse/UIMA-5532
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.10.0SDK, 3.0.0SDK-alpha02
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.10.1SDK, 3.0.0SDK-beta


The xmi/json common serialization code made a wrong assumption in the design.  It assumed
that if a FS referenced from a feature slot marked as MultipleReferencesAllowed, that all
other feature slots which might have that FS as a feature slot value also declared those slots
as MutlipleReferencesAllowed.

One use case occured where this was not the case.  The implementation in that case fails to
serialize the shared FS, and subsequent deserialization (of course) fails.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message