You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Adam Lally (JIRA)" <ui...@incubator.apache.org> on 2007/06/22 16:32:27 UTC

[jira] Created: (UIMA-467) TypeSystemUtils.typeSystem2TypeSystemDescription produces invalid output for arrays with elementType specified

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.


[jira] Closed: (UIMA-467) TypeSystemUtils.typeSystem2TypeSystemDescription produces invalid output for arrays with elementType specified

Posted by "Adam Lally (JIRA)" <ui...@incubator.apache.org>.
     [ 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.