uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Eckart de Castilho (JIRA)" <...@uima.apache.org>
Subject [jira] [Commented] (UIMA-2012) Handling of imported type systems causes error
Date Sat, 16 Apr 2011 14:19:05 GMT

    [ https://issues.apache.org/jira/browse/UIMA-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020615#comment-13020615
] 

Richard Eckart de Castilho commented on UIMA-2012:
--------------------------------------------------

I have a similar - possibly the same problem:

I try to open an XMI which uses a type system that imports another type system. To me it looks
like the imports are resolved relative to the Eclipse home directory (instead of relative
to the actual descriptor file) for import-by-location and that source paths on a Java project
are also ignored.

There the error message for an import-by-location:

Could not open the editor: Import failed.  Could not read from URL file:/../../BasicTypeSystem.xml.
(Descriptor: file:/Applications/eclipse 3.6.0-cocoa-64/Eclipse.app/Contents/MacOS

Here for an import-by-name (even though the BasicTypeSystem.xml is in a folder declared as
a Java source folder in the same project containing the XMI):

Could not open the editor: An import could not be resolved.  No .xml file with name "BasicTypeSystem"
was found in the class path or data path. (Descriptor: file:/Applications/eclipse 3.6.0-cocoa-64/Eclipse.app/Contents/MacOS)



> Handling of imported type systems causes error
> ----------------------------------------------
>
>                 Key: UIMA-2012
>                 URL: https://issues.apache.org/jira/browse/UIMA-2012
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Kl├╝gl
>            Priority: Minor
>             Fix For: 2.3.2SDK
>
>
> When opening a XMI with a type system that imports other type systems (by location),
the editor displays an error. This problem occurs, if XMI contains data of types that are
specified in the imported type systems. May be related to UIMA-2011.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message