You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Peter Klügl (JIRA)" <de...@uima.apache.org> on 2011/01/20 16:13:45 UTC

[jira] Created: (UIMA-2011) Can't open XMI with data not specified by type system

Can't open XMI with data not specified by type system
-----------------------------------------------------

                 Key: UIMA-2011
                 URL: https://issues.apache.org/jira/browse/UIMA-2011
             Project: UIMA
          Issue Type: Bug
          Components: CasEditor
            Reporter: Peter Klügl
            Priority: Minor


Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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


[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146957#comment-13146957 ] 

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

"Should we create an issue to implement proper read-only support after 2.4.0?"

Ok, I will open a new issue for that. 

I'm a bit busy these days, but I think I can implement both preference issues tomorrow.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147786#comment-13147786 ] 

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

I added the preference for this issue now to the annotation editor preference page. If you like, I will move the preference again to the ide plugin, but I think this one has no dependency to the ide plugin and is independent of the IDE, because it only controls the deserialization.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146195#comment-13146195 ] 

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

Issue opened.

Yes, I will make the changes. My first idea is to add another preference checkbox to enable this functionality. So if the user does not know about it, then the CAS Editor does behave as before.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Closed] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Closed JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Klügl closed UIMA-2011.
-----------------------------

    Resolution: Fixed
      Assignee: Peter Klügl  (was: Joern Kottmann)

Added preference for experienced users to load the CAS leniently. Further functionality (if necessary) like deactivating editing should be done in a new issue.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Peter Klügl
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146952#comment-13146952 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

The preferences for this and the other issue should go into a new preference page which is contributed by the ide plugin.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022033#comment-13022033 ] 

Jörn Kottmann commented on UIMA-2011:
-------------------------------------

Yeah, I believe we should then extend the error page to offer an option to open the CAS anyway in read-only mode.

> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Priority: Minor
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146188#comment-13146188 ] 

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

I think all feature structures of types not defined in the used type system will be lost.

I would just not allow the user to make any serious changes by deactivating the save actions int his case. Then the user can open and modify what he wants, but can only store the CAS if he uses the correct type system.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Closed] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann closed UIMA-2011.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 2.3.2SDK
         Assignee: Jörn Kottmann

Should be tested by someone else, and then the issue can be closed.

> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Jörn Kottmann
>            Priority: Minor
>             Fix For: 2.3.2SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144034#comment-13144034 ] 

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

I doesn't work for me, I get still an exception respectively.

What do you think about adding this to line 250 in DocumentUimaImpl:

} else if (DocumentFormat.XMI.equals(format)) {
      XmiCasDeserializer dezerializer = new XmiCasDeserializer(mTypeSystem);

      try {
        saxParser.parse(content, dezerializer.getXmiCasHandler(mCAS));
      } catch (IOException e) {
        String message = e.getMessage() != null ? e.getMessage() : "";
        IStatus s = new Status(IStatus.ERROR, CasEditorPlugin.ID, IStatus.OK, message, e);
        throw new CoreException(s);
      } catch (SAXException e) {
        try {
          XmiCasDeserializer.deserialize(content, mCAS, true);
        } catch (SAXException e1) {
          String message = e.getMessage() != null ? e.getMessage() : "";
          IStatus s = new Status(IStatus.ERROR, CasEditorPlugin.ID, IStatus.OK, message, e);
          throw new CoreException(s);
        } catch (IOException e1) {
          String message = e.getMessage() != null ? e.getMessage() : "";
          IStatus s = new Status(IStatus.ERROR, CasEditorPlugin.ID, IStatus.OK, message, e);
          throw new CoreException(s);
        }
      }
    } else {
      throw new CoreException(new Status(IStatus.ERROR, CasEditorPlugin.ID, IStatus.OK,
              "Unkown file format!", null));
    }


We would then need a flag or something for readonly and the logic in the editor.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146187#comment-13146187 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

Sorry, I am bit late with my reply. What are the consequences when we allow the user to edit a CAS with a type system that has unknown types?
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022024#comment-13022024 ] 

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

If think that editing is problematic, becaus the FS of the missing types are deleted. One could see that as a feature, but if it happens by accident...

In my optinion read only is a good solution.

> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Priority: Minor
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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

[jira] [Reopened] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
     [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jörn Kottmann reopened UIMA-2011:
---------------------------------


Ups, closed the wrong issue.

> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Jörn Kottmann
>            Priority: Minor
>             Fix For: 2.3.2SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146190#comment-13146190 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

Sounds good, should we do it for 2.4.0 or wait?
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146193#comment-13146193 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

Please open a jira for the type system mapping.

Would be nice if you can do the change, since I am busy with other things to get the release done, the test plan and the documentation update is still missing.

I think we should disable this feature by default, since it could be highly confusing for people when they can open a CAS with more or less any type system but cannot edit it.
Do you have an idea how to solve this?
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Jörn Kottmann (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022012#comment-13022012 ] 

Jörn Kottmann commented on UIMA-2011:
-------------------------------------

Should editing be allowed if the type system does not match? Otherwise the editor could be opened as read only.

> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Priority: Minor
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146950#comment-13146950 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

I think the read-only document support is not properly implemented. I suggest that we don't try to do that now and just allow the user to edit the CAS on his own risk.

The views would need to be updated to be sensitive to a read only editor.

Should we create an issue to implement proper read-only support after 2.4.0?
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (Commented JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13146192#comment-13146192 ] 

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

I really like to have it in the 2.4.0 release. Do want to do this or should I make the changes?

Btw, another thing I'd really can use for the 2.4.0 release is the option (preference) to deactivate the type system mapping (when selecting the type system). Can we include this too?
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Commented] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Joern Kottmann (Commented) (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147789#comment-13147789 ] 

Joern Kottmann commented on UIMA-2011:
--------------------------------------

No that is fine. Also nice that you added the warning.
                
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Assignee: Joern Kottmann
>            Priority: Minor
>             Fix For: 2.4.0SDK
>
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

--
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

       

[jira] [Issue Comment Edited] (UIMA-2011) Can't open XMI with data not specified by type system

Posted by "Peter Klügl (JIRA)" <de...@uima.apache.org>.
    [ https://issues.apache.org/jira/browse/UIMA-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13022024#comment-13022024 ] 

Peter Klügl edited comment on UIMA-2011 at 4/20/11 8:36 AM:
------------------------------------------------------------

I think that editing is problematic, because the FS of the missing types are deleted. One could see that as a feature, but if it happens by accident...

In my optinion read only is a good solution.

      was (Author: pkluegl):
    If think that editing is problematic, becaus the FS of the missing types are deleted. One could see that as a feature, but if it happens by accident...

In my optinion read only is a good solution.
  
> Can't open XMI with data not specified by type system
> -----------------------------------------------------
>
>                 Key: UIMA-2011
>                 URL: https://issues.apache.org/jira/browse/UIMA-2011
>             Project: UIMA
>          Issue Type: Bug
>          Components: CasEditor
>            Reporter: Peter Klügl
>            Priority: Minor
>
> Given a XMI that contains annotations of types not present in the specified type system of the project, the CASe Editor can't open the file and displays an error.

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