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

Marshall Schor commented on UIMA-1119:
--------------------------------------

The error messages refer to "XCAS", yet are coming from the "XMI" 
deserialization.  Is this accidently mixing up two different serialization 
formats?  

Also, the file was automatically generated in the far distant past, but is now 
maintained by hand - so that comment should be removed, I think.

> The XmiCasDeserializer throws NoSuchElementException if an XCAS is corrupted, 
> but doesn't report the offending element.
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-1119
>                 URL: https://issues.apache.org/jira/browse/UIMA-1119
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.2.2
>            Reporter: Burn Lewis
>            Assignee: Marshall Schor
>            Priority: Minor
>         Attachments: UIMA-1119-3.patch
>
>
> Obviously it's dangerous to edit XCASes but it is often the quickest way to 
> produce a variety of test cases for an annotator.  By changing a few lines we 
> can report the invalid id.

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

Reply via email to