Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-5532

xmi/json serialization multiple-refs-allowed sometimes fails to serialize item

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: