Array-valued features are written out incorrectly when serializing type system
------------------------------------------------------------------------------

                 Key: UIMA-1242
                 URL: https://issues.apache.org/jira/browse/UIMA-1242
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
    Affects Versions: 2.2.2
            Reporter: Thilo Goetz
            Assignee: Thilo Goetz
             Fix For: 2.3


When serializing a type system that contains type with array-valued features, 
type declarations as below are generated:

<name>org.apache.uima.test.Test</name>
<description/>
<supertypeName>uima.tcas.Annotation</supertypeName>
<features>
<featureDescription>
<name>sofa</name>
<description/>
<rangeTypeName>uima.cas.Sofa</rangeTypeName>
</featureDescription>
<featureDescription>
<name>begin</name>
<description/>
<rangeTypeName>uima.cas.Integer</rangeTypeName>
</featureDescription>
<featureDescription>
<name>end</name>
<description/>
<rangeTypeName>uima.cas.Integer</rangeTypeName>
</featureDescription>
<featureDescription>
<name>array</name>
<description/>
<rangeTypeName>uima.tcas.Annotation[]</rangeTypeName>
</featureDescription>
</features>
</typeDescription>
<typeDescription>
<name>uima.tcas.Annotation[]</name>
<description/>
<supertypeName>uima.cas.FSArray</supertypeName>
</typeDescription>
</types>

These are of course incorrect and can't be read back in.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to