[
https://issues.apache.org/jira/browse/UIMA-467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Adam Lally closed UIMA-467.
---------------------------
Resolution: Fixed
> TypeSystemUtils.typeSystem2TypeSystemDescription produces invalid output for
> arrays with elementType specified
> --------------------------------------------------------------------------------------------------------------
>
> Key: UIMA-467
> URL: https://issues.apache.org/jira/browse/UIMA-467
> Project: UIMA
> Issue Type: Bug
> Components: Core Java Framework
> Affects Versions: 2.1
> Reporter: Adam Lally
> Assignee: Adam Lally
> Fix For: 2.2
>
>
> User reports: if CAS was created from a TypeSystem Descriptor containing a
> feature such as:
> <featureDescription>
> <name>compensationArray</name>
> <description></description>
> <rangeTypeName>uima.cas.FSArray</rangeTypeName>
> <elementType>uima.tcas.Annotation</elementType>
> </featureDescription>
> If you use TypeSystemUtil.typeSystem2TypeSystemDescription to generate a new
> TypeSystem descriptor from this, it will look like:
> <featureDescription>
> <name>compensationArray</name>
> <description></description>
> <rangeTypeName>uima.tcas.Annotation[]</rangeTypeName>
> </featureDescription>
> If you try to create a new CAS fromt his descriptor it will fail.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.