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

Peter Klügl commented on UIMA-2266:
-----------------------------------

Ok, I got the problem now: I debugged a script using one CAS, opened it (CAS 
Editor remembered the type system), then debugged another script with this CAS. 
Now I can't open it because the second script introduced some more types 
resulting in the missing type error.

I fear it is not as simple as to use the search strategies before. I have some 
that are quite weaker than the remembered type system and should not be applied 
before that.

Two ideas:
- moving the strategies before the map and I get rid of the other strategies
- making the map a new strategy with some default priority

Both are not really good solutions. Do you have any ideas for this problem?

                
> Enable multiple strategies for finding a suitable type system
> -------------------------------------------------------------
>
>                 Key: UIMA-2266
>                 URL: https://issues.apache.org/jira/browse/UIMA-2266
>             Project: UIMA
>          Issue Type: New Feature
>          Components: CasEditor
>    Affects Versions: 2.4.0SDK
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Minor
>
> Add an extension point for type system search strategies (maybe with 
> priorities). The different strategies need then to be applied in 
> DefaultCasDocumentProvider.createDocument.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to